Stage
class Stage
Manages canvases on which an animation can be displayed.
Constructors
constructor
Properties
finalBuffer
readonly public finalBuffer: HTMLCanvasElement
Methods
configure
public configure{...}: PartialStageSettings: void
Parameters
{...}: PartialStageSettings
render
public rendercurrentScene: SceneunknownpreviousScene: nullSceneunknown: Promisevoid
Parameters
currentScene: Sceneunknown
previousScene: nullSceneunknown
resizeCanvas
public resizeCanvascontext: CanvasRenderingContext2D: void