Core Props Examples       Comp Projects

Bilza Engine

Methods

resizeCanvas(width :number, height :number | null)
Set the canvas width and height as per pixels. If we do not provide a height (which you are advised not to) the lib will decide height based on suitable aspect ration.
start():boolean
start running the animation.
stop():boolean
stop running the animation
draw(timeMs :number=0)
start animation at the given second
len(inMilliSeconds :boolean = true):number
the length of the animation