long
|
currentTime()
The current time of the layer in microseconds, the layer is invisible if currentTime is not in the visible range
(startTime <= currentTime < startTime + duration) .
|
long
|
duration()
The duration of the layer in microseconds, indicates the length of the visible range.
|
int
|
editableIndex()
Ranges from 0 to PAGFile.numTexts - 1 if the layer type is text, or from 0 to PAGFile.numImages -1 if the
layer type is image, otherwise returns -1.
|
boolean
|
equals(Object obj)
|
boolean
|
excludedFromTimeline()
Indicate whether this layer is excluded from parent's timeline.
|
void
|
finalize()
|
float
|
frameRate()
Returns the frame rate of this layer.
|
RectF
|
getBounds()
Returns a rectangle in pixels that defines the original area of the layer, which is not
transformed by the matrix.
|
double
|
getProgress()
Returns the current progress of play position, the value is from 0.0 to 1.0.
|
Matrix
|
getTotalMatrix()
The final matrix for displaying, it is the combination of the matrix property and current matrix from animation.
|
long
|
globalToLocalTime(long globalTime)
Converts the time from the PAGSurface (global) to the PAGLayer's (local) timeline timeline.
|
int
|
hashCode()
|
String
|
layerName()
Returns the name of the layer.
|
int
|
layerType()
Returns the type of layer.
|
long
|
localTimeToGlobal(long localTime)
Converts the time from the PAGLayer's (local) timeline to the PAGSurface (global) timeline.
|
PAGMarker[]
|
markers()
Returns the markers of this layer.
|
Matrix
|
matrix()
A matrix object containing values that alter the scaling, rotation, and translation of the layer.
|
PAGComposition
|
parent()
Indicates the Container instance that contains this Node instance.
|
void
|
resetMatrix()
Resets the matrix to its default value.
|
void
|
setCurrentTime(long time)
Set the current time of the layer in microseconds.
|
void
|
setExcludedFromTimeline(boolean value)
Set the excludedFromTimeline flag of this layer.
|
void
|
setMatrix(Matrix matrix)
A matrix object containing values that alter the scaling, rotation, and translation of the layer.
|
void
|
setProgress(double value)
Set the progress of play position, the value ranges from 0.0 to 1.0.
|
void
|
setStartTime(long time)
Set the start time of the layer, in microseconds.
|
void
|
setVisible(boolean value)
|
long
|
startTime()
The start time of the layer in microseconds, indicates the start position of the visible range.
|
PAGLayer
|
trackMatteLayer()
Returns trackMatte layer of this layer.
|
boolean
|
visible()
Whether or not the layer is visible.
|