Static
create[Internal] Apply all pending changes to the target surface immediately. Returns true if the content has changed.
If set to true, PAGPlayer caches an internal bitmap representation of the static content for each layer. This caching can increase performance for layers that contain complex vector content. The execution speed can be significantly faster depending on the complexity of the content, but it requires extra graphics memory. The default value is true.
Returns the current scale mode.
Specifies the rule of how to scale the pag content to fit the surface size. The matrix changes when this method is called.
Set the PAGSurface object for PAGPlayer to render onto.
Returns the current PAGComposition for PAGPlayer to render as content.
Sets a new PAGComposition for PAGPlayer to render as content.
Returns the PAGSurface object for PAGPlayer to render onto.
Returns an array of layers that lie under the specified point. The point is in pixels and from
this PAGComposition's local coordinates.
Evaluates the PAGLayer to see if it overlaps or intersects with the specified point. The point
is in the coordinate space of the PAGSurface, not the PAGComposition that contains the PAGLayer. It always returns false if the PAGLayer or its parent (or parent's parent...) has not been added to this PAGPlayer. The pixelHitTest parameter indicates whether or not to check against the actual pixels of the object (true) or the bounding box (false). Returns true if the PAGLayer overlaps or intersects with the specified point.
Link VideoReader to PAGPlayer.
Unlink VideoReader from PAGPlayer.
Generated using TypeDoc
Set the progress of play position, the value is from 0.0 to 1.0.