.. _PathItem: ================================================ PathItem ================================================ Description ----------- A path or drawing object, such as the outline of a shape or a straight or curved line, which contains sub paths that comprise its geometry. Properties ^^^^^^^^^^ +-----------------------------------------------------+------------------------------------------+ | :ref:`kind` readonly | The type of path. | +-----------------------------------------------------+------------------------------------------+ | :ref:`name` readonly | The name of the path item. | +-----------------------------------------------------+------------------------------------------+ | :ref:`parent` readonly | The object's container. | +-----------------------------------------------------+------------------------------------------+ | :ref:`subPathItems` readonly | The sub path objects for this path item. | +-----------------------------------------------------+------------------------------------------+ | :ref:`typename` readonly | The class name of the object. | +-----------------------------------------------------+------------------------------------------+ Methods ^^^^^^^ +-------------------------------------------------------------+---------------------------------------------------------------------------------+ | :ref:`add` readonly | Adds an element. | +-------------------------------------------------------------+---------------------------------------------------------------------------------+ | :ref:`deselect` readonly | Unselects the selection, no path items are selected. | +-------------------------------------------------------------+---------------------------------------------------------------------------------+ | :ref:`duplicate` readonly | Duplicate this object. | +-------------------------------------------------------------+---------------------------------------------------------------------------------+ | :ref:`duplicate` readonly | Duplicates this path item. | +-------------------------------------------------------------+---------------------------------------------------------------------------------+ | :ref:`fillPath` readonly | Fills the area enclosed by the path. | +-------------------------------------------------------------+---------------------------------------------------------------------------------+ | :ref:`makeClippingPath` readonly | Makes this path item the clipping path for this document. | +-------------------------------------------------------------+---------------------------------------------------------------------------------+ | :ref:`makeSelection` readonly | Makes a selection object, whose border is the path, from this path item object. | +-------------------------------------------------------------+---------------------------------------------------------------------------------+ | :ref:`remove` readonly | Deletes this object. | +-------------------------------------------------------------+---------------------------------------------------------------------------------+ | :ref:`removeAll` readonly | Deletes all elements. | +-------------------------------------------------------------+---------------------------------------------------------------------------------+ | :ref:`select` readonly | Makes this path item the active or selected path item. | +-------------------------------------------------------------+---------------------------------------------------------------------------------+ | :ref:`strokePath` readonly | Strokes the path. | +-------------------------------------------------------------+---------------------------------------------------------------------------------+ .. container:: hide .. toctree:: :hidden: :maxdepth: 1 PathItem/parent.rst PathItem/typename.rst PathItem/name.rst PathItem/subPathItems.rst PathItem/kind.rst PathItem/add.rst PathItem/duplicate.rst PathItem/remove.rst PathItem/removeAll.rst PathItem/duplicate.rst PathItem/makeSelection.rst PathItem/fillPath.rst PathItem/strokePath.rst PathItem/makeClippingPath.rst PathItem/select.rst PathItem/deselect.rst