Static variables

Constructor

new(window:Window)

Variables

@:value(White)color:Color = White

@aliasheight:Int

write onlypadding:Float

@:value(new s2d.WindowScene_resized_Signal())@:signalresized:WindowScene_resized_Signal = new s2d.WindowScene_resized_Signal()

This signal invokes its slots with width:Int, height:Int parameters when emitted. Call resized(width, height) or resized.emit(width, height) to emit the signal

@aliaswidth:Int

Methods

elementAt(x:Float, y:Float):Element

inlineoffResized(slot:(width:Int, height:Int) ‑> Void):Void

Shortcut for resized signal's function disconnect which disconnects slots from it.

Parameters:

slot

a callback to remove from resized's list

inlineonResized(slot:(width:Int, height:Int) ‑> Void):Void

Shortcut for resized signal's function connect which connects slots to it.

Parameters:

slot

a callback to invoke when resized is emitted

resize(width:Int, height:Int):Void

setPadding(value:Float):Void