calculateTransformFromPoints()

Calculates a transformation from a set of points in this layer.pointTopLeft The top left point coordinates in the form of an array, [x, y, z].pointTopRight

duplicate()

Creates and returns a duplicate of this composition, which contains the same layers as the original.None.CompItem object.

LightLayer object

The LightLayer object represents a light layer within a composition. Create it using the LayerCollection objectメs addLight method; It can beaccessed in anit

openInViewer()

Opens the layer in a Layer panel, and moves the Layer panel to front and gives it focus.None.Viewer object for the Layer panel, or null if the layer could n

layer()

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

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