Returns a Layer object, which can be specified by name, an index position in this layer, or an index position relative to another layer.index The index numb
Tag Archives: layers
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
sourceRectAtTime()
Retrieves the rectangle bounds of the layer at the specified time index, corrected for text or shape layer content.Use, for example, to write text that is p
canImportAs()
Reports whether the file can be imported as the source of a particular object type. If this method returns true, you can set the given type as the value of
CompItem object
The CompItem object represents a composition, and allows you to manipulate and get information about it.Access the objects by position index number in a pro
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
AVLayer object
The AVLayer object provides an interface to those layers that contain AVItem objects composition layers, footage layers, solid layers, text layers, and sou
shy
When true, the layer is shy, meaning that it is hidden in the Layer panel if the compositionメs Hide all shy layers option is toggled on.Boolean; read/write.
canSetEnabled
When true, you can set the enabled attribute value. Generally, this is true if the user interface displays an eyeball icon for this property; it is true for
copyToComp()
Copies the layer into the specified composition. The original layer remains unchanged. Creates a new Layer object with the same values as this one, and prep