Events

@:dox(show)resize():Void

@:dox(show)mouseDown(buttonId:Int, x:Float, y:Float):Void

@:dox(show)mouseUp(buttonId:Int, x:Float, y:Float):Void

@:dox(show)mouseWheel(x:Float, y:Float):Void

@:dox(show)mouseMove(x:Float, y:Float):Void

@:dox(show)touchDown(touchIndex:Int, x:Float, y:Float):Void

@:dox(show)touchUp(touchIndex:Int, x:Float, y:Float):Void

@:dox(show)touchMove(touchIndex:Int, x:Float, y:Float):Void

Constructor

new()

Methods

inlinegetWidth():Int

inlinegetHeight():Int

setBackground(background:Int):Void

screenshotToTexture(done:(texture:Texture) ‑> Void):Void

screenshotToPng(?path:String, done:(data:Bytes) ‑> Void):Void

screenshotToPixels(done:(pixels:UInt8Array, width:Int, height:Int) ‑> Void):Void