h2d.Interactive
h2d.Interactive
Inherits from: h2d.Drawable
Fields
| Name | Type | |
|---|---|---|
width | F64 | |
height | F64 | |
cursor | hxd.Cursor | |
isEllipse | Bool | |
cancelEvents | Bool | |
propagateEvents | Bool | |
backgroundColor | Null | |
enableRightButton | Bool | |
scene | h2d.Scene | |
mouseDownButton | I32 | |
parentMask | h2d.Mask | |
invDet | F64 | |
shape | Virtual[contains] | |
shapeX | F64 | |
shapeY | F64 | |
onOver | Fun | |
onOut | Fun | |
onPush | Fun | |
onRelease | Fun | |
onClick | Fun | |
onMove | Fun | |
onWheel | Fun | |
onFocus | Fun | |
onFocusLost | Fun | |
onKeyUp | Fun | |
onKeyDown | Fun | |
onCheck | Fun | |
onTextInput | Fun | |
| “ | Virtual[handleEvent, getInteractiveScene] |
Protos
f@2794onAdd(h2d.Interactive) → Voidf@2795draw(h2d.Interactive, h2d.RenderContext) → Voidf@2796getBoundsRec(h2d.Interactive, h2d.Object, h2d.col.Bounds, Bool) → Voidf@2797onParentChanged(h2d.Interactive) → Voidf@2798updateMask(h2d.Interactive) → Voidf@2799onRemove(h2d.Interactive) → Voidf@2800checkBounds(h2d.Interactive, hxd.Event) → Boolf@2801getInteractiveScene(h2d.Interactive) → Virtual[setEvents, isInteractiveVisible, handleEvent, dispatchListeners, dispatchEvent]f@2802handleEvent(h2d.Interactive, hxd.Event) → Voidf@2803calcAbsPos(h2d.Interactive) → Voidf@2804set_cursor(h2d.Interactive, hxd.Cursor) → hxd.Cursorf@2805focus(h2d.Interactive) → Voidf@2806blur(h2d.Interactive) → Voidf@2807isOver(h2d.Interactive) → Boolf@2808hasFocus(h2d.Interactive) → Bool
Bindings
f@2821onTextInput(h2d.Interactive, hxd.Event) → Voidf@2820onCheck(h2d.Interactive, hxd.Event) → Voidf@2819onKeyDown(h2d.Interactive, hxd.Event) → Voidf@2818onKeyUp(h2d.Interactive, hxd.Event) → Voidf@2817onFocusLost(h2d.Interactive, hxd.Event) → Voidf@2816onFocus(h2d.Interactive, hxd.Event) → Voidf@2815onWheel(h2d.Interactive, hxd.Event) → Voidf@2814onMove(h2d.Interactive, hxd.Event) → Voidf@2813onClick(h2d.Interactive, hxd.Event) → Voidf@2812onRelease(h2d.Interactive, hxd.Event) → Voidf@2811onPush(h2d.Interactive, hxd.Event) → Voidf@2810onOut(h2d.Interactive, hxd.Event) → Voidf@2809onOver(h2d.Interactive, hxd.Event) → Void- static
f@2834__constructor__(h2d.Interactive, F64, F64, h2d.Object, Virtual[contains]) → Void