height

The height of the layer in pixels.Floating-point; read-only.

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

replace()

Changes the source of this FootageItem to the specified file. In addition to loading the file, the method creates a new FileSource object for the file and s

replaceWithPlaceholder()

Changes the source of this FootageItem to the specified placeholder. Creates a new PlaceholderSource object, sets its values from the parameters, and sets m

replaceWithSequence()

Changes the source of this FootageItem to the specified image sequence. In addition to loading the file, the method creates a new FileSource object for the

addComp()

Creates a new composition. Creates and returns a new CompItem object and adds it to this collection.If the ItemCollection belongs to the project or the root

replaceWithSolid()

Changes the source of this FootageItem to the specified solid. Creates a new SolidSource object, sets its values from theparameters, andsets mainSource to t

addSolid()

Creates a new SolidSource object, with values set as specified; sets the new SolidSource as the mainSource value of a new FootageItem object, and adds the F

importPlaceholder()

Creates and returns a new PlaceholderItem object and adds it to the projectメs items array. Same as the File > Import > Placeholder command.name A string con

height

The height of the item in pixels.ユ In a CompItem, the value is linked to the composition, and is read/write.ユ In a FootageItem, the value is linked to the m