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
()
_StyleTODO
Members
isPainted
- Inherited From:
visible :boolean
TODO
__usePaintCallback
- Inherited From:
Methods
()
_OnPaintChange- Inherited From:
()
_PostRenderTODO
()
_RenderTODO
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
(p_oldParent)
_OnParentChangedCalled 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
:boolean
dirtyTODO
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.
:DisplayObjectTransform
transformsTODO
width
x :number
Will set transform.translateX
y :number
Will set transform.translateY
z :number
Will set transform.translateZ
Methods
()
ApplyTransformsApply 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:
(p_signal, …args)
_Broadcast- Inherited From:
Members
:boolean
isReleasing- Inherited From:
Methods
()
_Wake- Inherited From:
PreventRelease()
- Inherited From:
Release()
- Inherited From:
()
_CleanUp- Inherited From:
Members
:string
displayPathTODO
flags
TODO
host
TODO
order :number
TODO
wrapper
TODO
Methods
(p_requestType, p_fn)
_RegisterLocalRequestHandlerTODO
Parameters:
Name | Type | Description |
---|---|---|
p_requestType |
* | |
p_fn |
function |
(p_requestType, p_fn)
_UnregisterLocalRequestHandlerTODO
Parameters:
Name | Type | Description |
---|---|---|
p_requestType |
* | |
p_fn |
function |