Static methods
Constructor
Variables
Methods
getElement(name:String):TElement
Returns an element of the canvas.
Parameters:
name | The name of the element |
---|
Returns:
TElement
notifyOnReady(f:() ‑> Void):Void
Run the given callback function f
when the canvas is loaded and ready.
See also:
setCanvasFontSize(fontSize:Int):Void
Set font size of the canvas
Parameters:
fontSize | Size of font to be setted |
---|
inlinesetCanvasVisible(visible:Bool):Void
Set whether the active canvas is visible.
Note that elements of invisible canvases are not rendered and computed, so it is not possible to interact with those elements on the screen.