Available on nodejs
SmartCanvas
@:value({ even : true, smallDeviceQuality : SmallDeviceQuality.ideal })new(?size:Point<Int>, ?parentDom:Element, smallDeviceQuality:SmallDeviceQuality = SmallDeviceQuality.ideal, even:Bool = true)
read onlycanvas:CanvasElement
read onlydynStage:Rect<Float>
@:value(false)noScale:Bool = false
read onlyonDynStageResize:Signal1<Rect<Float>>
read onlyonStageResize:Signal2<Float, Rect<Float>>
read onlyratio:Float
rect:Rect<Float>
read onlyscale:Float
smallDeviceQuality:SmallDeviceQuality
@:value(0)read onlystageHeight:Int = 0
read onlystageInitSize:Point<Int>
@:value(0)read onlystageWidth:Int = 0
fullscreen():Void
dynamicratioMod(value:Float):Float
setSize(w:Int, h:Int):Void
inlineset_smallDeviceQuality(q:SmallDeviceQuality):SmallDeviceQuality
inlineupdateSize():Void
read onlychangeElement:Signal2<Element, Element>
@:bindableelement:Element
read onlyheight:Int
read onlyonResize:Signal2<Int, Int>
read onlywidth:Int
resizeHandler():Void
inlineset_element(v:Element):Element