Stage
class
Stage
Manages canvases on which an animation can be displayed.
Constructors
constructor
public
new
Stage
():
Stage
Properties
finalBuffer
readonly
public
finalBuffer
:
HTMLCanvasElement
Methods
configure
public
configure
{...}
:
Partial
StageSettings
:
void
Parameters
-
{...} : Partial StageSettings
render
public
render
currentScene
:
Scene
unknown
previousScene
:
null
Scene
unknown
:
Promise
void
Parameters
-
currentScene : Scene unknown -
previousScene : null Scene unknown
resizeCanvas
public
resizeCanvas
context
:
CanvasRenderingContext2D
:
void