PackagedragonBones.display
Classpublic class StarlingDisplayBridge
InheritanceStarlingDisplayBridge Inheritance Object
Implements IDisplayBridge

The StarlingDisplayBridge class is an implementation of the IDisplayBridge interface for starling.display.DisplayObject.



Public Properties
 PropertyDefined By
  display : Object
Indicates the original display object relative to specific display engine.
StarlingDisplayBridge
Public Methods
 MethodDefined By
  
Creates a new StarlingDisplayBridge instance.
StarlingDisplayBridge
  
addDisplay(container:Object, index:int = -1):void
Adds the original display object to another display object.
StarlingDisplayBridge
  
remove the original display object from its parent.
StarlingDisplayBridge
  
update(matrix:Matrix, node:BoneTransform, colorTransform:ColorTransform, visible:Boolean):void
Updates the transform of the display object
StarlingDisplayBridge
Property Detail
displayproperty
display:Object

Indicates the original display object relative to specific display engine.


Implementation
    public function get display():Object
    public function set display(value:Object):void
Constructor Detail
StarlingDisplayBridge()Constructor
public function StarlingDisplayBridge()

Creates a new StarlingDisplayBridge instance.

Method Detail
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