Package | dragonBones.display |
Class | public class NativeDisplayBridge |
Inheritance | NativeDisplayBridge Object |
Implements | IDisplayBridge |
Property | Defined By | ||
---|---|---|---|
display : Object
Indicates the original display object relative to specific display engine. | NativeDisplayBridge |
Method | Defined By | ||
---|---|---|---|
Creates a new NativeDisplayBridge instance. | NativeDisplayBridge | ||
addDisplay(container:Object, index:int = -1):void
Adds the original display object to another display object. | NativeDisplayBridge | ||
removeDisplay():void
remove the original display object from its parent. | NativeDisplayBridge | ||
update(matrix:Matrix, node:BoneTransform, colorTransform:ColorTransform, visible:Boolean):void
Updates the transform of the display object
| NativeDisplayBridge |
display | property |
display:Object
Indicates the original display object relative to specific display engine.
public function get display():Object
public function set display(value:Object):void
NativeDisplayBridge | () | Constructor |
public function NativeDisplayBridge()
Creates a new NativeDisplayBridge instance.
addDisplay | () | method |
public function addDisplay(container:Object, index:int = -1):void
Adds the original display object to another display object.
Parameters
container:Object | |
index:int (default = -1 )
|
removeDisplay | () | method |
public function removeDisplay():void
remove the original display object from its parent.
update | () | method |
public function update(matrix:Matrix, node:BoneTransform, colorTransform:ColorTransform, visible:Boolean):void
Updates the transform of the display object
Parameters
matrix:Matrix | |
node:BoneTransform | |
colorTransform:ColorTransform | |
visible:Boolean |