Static
loadStatic
loadStatic
maxStatic
makeMake a empty PAGComposition with specified size.
Get a text data of the specified index. The index ranges from 0 to numTexts - 1. Note: It always returns the default text data.
Replace the text data of the specified index. The index ranges from 0 to PAGFile.numTexts - 1. Passing in null for the textData parameter will reset it to default text data.
Replace the image content of the specified index with a PAGImage object. The index ranges from 0 to PAGFile.numImages - 1. Passing in null for the image parameter will reset it to default image content.
Return an array of layers by specified editable index and layer type.
Returns the indices of the editable layers in this PAGFile. If the editableIndex of a PAGLayer is not present in the returned indices, the PAGLayer should not be treated as editable.
Indicate how to stretch the original duration to fit target duration when file's duration is changed. The default value is PAGTimeStretchMode::Repeat.
Set the timeStretchMode of this file.
Returns the child layer that exists at the specified index.
The index position of the child layer.
The child layer at the specified index position.
Returns the index position of a child layer.
The layer instance to identify.
The index position of the child layer to identify.
Changes the position of an existing child layer in the composition. This affects the layering of child layers.
The child layer for which you want to change the index number.
The resulting index number for the child layer.
Add a PAGLayer to current PAGComposition at the top. If you add a layer that already has a different PAGComposition object as a parent, the layer is removed from the other PAGComposition object.
Add a PAGLayer to current PAGComposition at the top. If you add a layer that already has a different PAGComposition object as a parent, the layer is removed from the other PAGComposition object.
Check whether current PAGComposition contains the specified pagLayer.
Remove the specified PAGLayer from current PAGComposition.
Remove the specified PAGLayer from current PAGComposition.
Returns an array of layers that match the specified layer name.
Returns an array of layers that lie under the specified point. The point is in pixels and from this PAGComposition's local coordinates.
Returns the layer's display matrix by combining its matrix) property with the current animation matrix from the AE timeline. This does not include the parent layer's matrix. To calculate the final bounds relative to the PAGSurface, use the PAGPlayer::getBounds(PAGLayer layer) method directly.
Returns the parent PAGComposition of current PAGLayer.
Returns this layer as a type layer.
Generated using TypeDoc
Load pag file from file.