Creates and returns an animation player for this animation. The actual drawing is done by the specified callback which is called for each frame and receives the image to render.
Callback to call on each frame update. This callback is responsible for actually showing the animation frame to the user.
The created animation player. You have to call the start() method on it to start the animation.
Returns the animation height in pixels.
The animation height in pixels.
Returns the animation width in pixels.
The animation width in pixels.
Generated using TypeDoc
Shared interface for Ending and Portrait animation.