.. _ArtLayers: ================================================ ArtLayers ================================================ Description ----------- The collection of art layer objects in the document. Properties ^^^^^^^^^^ +----------------------------------------------+---------------------------------------+ | :ref:`length` readonly | Number of elements in the collection. | +----------------------------------------------+---------------------------------------+ | :ref:`parent` readonly | The object's container. | +----------------------------------------------+---------------------------------------+ | :ref:`typename` readonly | The class name of the object. | +----------------------------------------------+---------------------------------------+ Methods ^^^^^^^ +------------------------------------------------+-----------------------------------------------------------------+ | :ref:`[]` readonly | Get an element in the collection with the provided index. | +------------------------------------------------+-----------------------------------------------------------------+ | :ref:`add` readonly | Adds an element. | +------------------------------------------------+-----------------------------------------------------------------+ | :ref:`getByName` readonly | Get the first element in the collection with the provided name. | +------------------------------------------------+-----------------------------------------------------------------+ | :ref:`removeAll` readonly | Deletes all elements. | +------------------------------------------------+-----------------------------------------------------------------+ .. container:: hide .. toctree:: :hidden: :maxdepth: 1 ArtLayers/parent.rst ArtLayers/typename.rst ArtLayers/length.rst ArtLayers/add.rst ArtLayers/removeAll.rst ArtLayers/getByName.rst ArtLayers/[].rst