Skip to content

h2d.Interactive

h2d.Interactive

Inherits from: h2d.Drawable

Fields

NameType
widthF64
heightF64
cursorhxd.Cursor
isEllipseBool
cancelEventsBool
propagateEventsBool
backgroundColorNull
enableRightButtonBool
sceneh2d.Scene
mouseDownButtonI32
parentMaskh2d.Mask
invDetF64
shapeVirtual[contains]
shapeXF64
shapeYF64
onOverFun
onOutFun
onPushFun
onReleaseFun
onClickFun
onMoveFun
onWheelFun
onFocusFun
onFocusLostFun
onKeyUpFun
onKeyDownFun
onCheckFun
onTextInputFun
Virtual[handleEvent, getInteractiveScene]

Protos

  • f@2794 onAdd(h2d.Interactive) → Void
  • f@2795 draw(h2d.Interactive, h2d.RenderContext) → Void
  • f@2796 getBoundsRec(h2d.Interactive, h2d.Object, h2d.col.Bounds, Bool) → Void
  • f@2797 onParentChanged(h2d.Interactive) → Void
  • f@2798 updateMask(h2d.Interactive) → Void
  • f@2799 onRemove(h2d.Interactive) → Void
  • f@2800 checkBounds(h2d.Interactive, hxd.Event) → Bool
  • f@2801 getInteractiveScene(h2d.Interactive) → Virtual[setEvents, isInteractiveVisible, handleEvent, dispatchListeners, dispatchEvent]
  • f@2802 handleEvent(h2d.Interactive, hxd.Event) → Void
  • f@2803 calcAbsPos(h2d.Interactive) → Void
  • f@2804 set_cursor(h2d.Interactive, hxd.Cursor) → hxd.Cursor
  • f@2805 focus(h2d.Interactive) → Void
  • f@2806 blur(h2d.Interactive) → Void
  • f@2807 isOver(h2d.Interactive) → Bool
  • f@2808 hasFocus(h2d.Interactive) → Bool

Bindings

  • f@2821 onTextInput(h2d.Interactive, hxd.Event) → Void
  • f@2820 onCheck(h2d.Interactive, hxd.Event) → Void
  • f@2819 onKeyDown(h2d.Interactive, hxd.Event) → Void
  • f@2818 onKeyUp(h2d.Interactive, hxd.Event) → Void
  • f@2817 onFocusLost(h2d.Interactive, hxd.Event) → Void
  • f@2816 onFocus(h2d.Interactive, hxd.Event) → Void
  • f@2815 onWheel(h2d.Interactive, hxd.Event) → Void
  • f@2814 onMove(h2d.Interactive, hxd.Event) → Void
  • f@2813 onClick(h2d.Interactive, hxd.Event) → Void
  • f@2812 onRelease(h2d.Interactive, hxd.Event) → Void
  • f@2811 onPush(h2d.Interactive, hxd.Event) → Void
  • f@2810 onOut(h2d.Interactive, hxd.Event) → Void
  • f@2809 onOver(h2d.Interactive, hxd.Event) → Void
  • static f@2834 __constructor__(h2d.Interactive, F64, F64, h2d.Object, Virtual[contains]) → Void