Extends
Signals
common.SIGNALRELEASING
- Inherited From:
common.SIGNALRELEASED
- Inherited From:
ui.core.UI_SIGNALFIRST_PAINT
- Inherited From:
ui.core.UI_SIGNALPAINTED
- Inherited From:
ui.core.UI_SIGNALUNPAINTED
- Inherited From:
Methods
_Style()
TODO
Members
isPainted
- Inherited From:
visible :boolean
TODO
__usePaintCallback
- Inherited From:
Methods
_OnPaintChange()
- Inherited From:
_PostRender()
TODO
_Render()
TODO
Members
parent :ui.core.DisplayObjectContainer
The parent of this DisplayObject.
Given how @nkmjs works, it is critical to understand that
a DisplayObject's `parent` while related to, is completely different from DOM' parentNode & parentElement.
Methods
BringToFront()
TODO
_OnParentChanged(p_oldParent)
Called when the parent of this display object has changed.
Parameters:
| Name | Type | Description |
|---|---|---|
p_oldParent |
* |
Transforms
Shortcuts to inline a DisplayObject's transforms.
Note : Transforms are only applied once right before the frame refreshes. If you are relying on methods such as 'getBoundingClientRect', changes made to transforms will be late by one frame.
Shortcuts to inline a DisplayObject's transforms.
Note : Transforms are only applied once right before the frame refreshes. If you are relying on methods such as 'getBoundingClientRect', changes made to transforms will be late by one frame.
Members
dirty :boolean
TODO
height
rotation :number
Will set transform.rotation
rotationX :number
Will set transform.rotationX
rotationY :number
Will set transform.rotationX
rotationZ :number
Will set transform.rotationX
scale :number
Will set transform.scale
scaleX :number
Will set transform.scaleX
scaleY :number
Will set transform.scaleY
scaleZ :number
Will set transform.scaleZ
size
Sets both the width & height of the display object to a given value.
transforms :DisplayObjectTransform
TODO
width
x :number
Will set transform.translateX
y :number
Will set transform.translateY
z :number
Will set transform.translateZ
Methods
ApplyTransforms()
Apply all transformations immediately. Note that this function is otherwise called at the end of the frame.
Broadcasting
This section list the main methods used to watch/unwatch signals on this object. For more info on signals, see signals
This section list the main methods used to watch/unwatch signals on this object. For more info on signals, see signals
Methods
Unwatch(p_signal, p_fn, p_listener) → {ui.core.DisposableHTMLElement}
- Inherited From:
Watch(p_signal, p_fn, p_listener) → {ui.core.DisposableHTMLElement}
- Inherited From:
WatchOnce(p_signalId, p_fn, p_listener) → {ui.core.DisposableHTMLElement}
- Inherited From:
_Broadcast(p_signal, …args)
- Inherited From:
Members
isReleasing :boolean
- Inherited From:
Methods
_Wake()
- Inherited From:
PreventRelease()
- Inherited From:
Release()
- Inherited From:
_CleanUp()
- Inherited From:
Members
displayPath :string
TODO
flags
TODO
host
TODO
order :number
TODO
wrapper
TODO
Methods
_RegisterLocalRequestHandler(p_requestType, p_fn)
TODO
Parameters:
| Name | Type | Description |
|---|---|---|
p_requestType |
* | |
p_fn |
function |
_UnregisterLocalRequestHandler(p_requestType, p_fn)
TODO
Parameters:
| Name | Type | Description |
|---|---|---|
p_requestType |
* | |
p_fn |
function |