LayerCollection object

The LayerCollection object represents a set of layers. The LayerCollection belonging to a CompItem object contains all the layer objects for layers in the c

addBoxText()

Creates a new paragraph box text layer and adds the new TextLayer object to this collection.To create a point text layer, use the addText method. For more i

addShape()

Creates a new ShapeLayer object for a new, empty Shape layer. Use the ShapeLayer object to add properties, such as shape, fill, stroke, and path filters.Thi

precompose()

Creates a new CompItem object and moves the specified layers into its layer collection. It removes the individual layers from this collection, and adds the

addNull()

Creates a new null layer and adds the AVLayer object to this collection. This is the same as choosing Layer > New > Null object.duration Optional, the lengt

add()

Creates a new AVLayer object containing the specified item, and adds it to this collection.The new layer honors the Create Layers at Composition Start Time

byName()

Returns the first topmost layer found in this collection with the specified name, or null if no layer with the given name is found.name A string containing

addText()

Creates a new point text layer and adds the new TextLayer object to this collection.To create a paragraph box text layer, use the addBoxText method. For mor

addCamera()

Creates a new camera layer and adds the CameraLayer object to this collection.The new layer honors the Create Layers at Composition Start Time preference.na

addLight()

Creates a new light layer and adds the LightLayer object to this collection.The new layer honors the Create Layers at Composition Start Time preference.name