Static
initpag file.
target render canvas.
pag view options
Adds a listener to the set of listeners that are sent events through the life of an animation, such as start, repeat, and end.
Removes a listener from the set listening to this animation.
Optional
listener: Listener<PAGViewEventMap[K]>If set to true, PAG renderer 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.
Returns the current PAGComposition for PAGView to render as content.
Sets a new PAGComposition for PAGView to render as content. Note: If the composition is already added to another PAGView, it will be removed from the previous PAGView.
Static
Protected
makePAGSurfaceProtected
flushProtected
flushProtected
getProtected
clearProtected
resetThe repeat count of player.
Indicates whether or not this pag view is playing.
Indicates whether or not this pag view is destroyed.
Protected
pagProtected
renderProtected
pagProtected
frameProtected
pagProtected
playerProtected
playProtected
canvasProtected
timerProtected
flushingProtected
playProtected
startProtected
repeatedProtected
eventGenerated using TypeDoc
Create pag view.
Returns