Packagefeathers.core
Interfacepublic interface IFeathersDisplayObject extends IFeathersEventDispatcher

Product Version : Feathers 1.1.0

Public properties and functions from starling.display.DisplayObject in helpful interface form.

Never cast an object to this type. Cast to DisplayObject instead. This interface exists only to support easier code hinting for interfaces.

See also

Full description of starling.display.DisplayObject in Gamua's Starling Framework API Reference


Public Properties
 PropertyDefined By
  alpha : Number
The opacity of the display object.
IFeathersDisplayObject
  base : DisplayObject
[read-only] The top-most object of the display tree that the display object is connected to.
IFeathersDisplayObject
  blendMode : String
The blend mode used when rendering the display object.
IFeathersDisplayObject
  bounds : Rectangle
[read-only] The bounds of the display object in its local coordinate space.
IFeathersDisplayObject
  filter : FragmentFilter
The filter used when rendering the display object.
IFeathersDisplayObject
  height : Number
The height of the display object in the parent's coordinate space.
IFeathersDisplayObject
  mask : DisplayObject
The display object's mask.
IFeathersDisplayObject
  name : String
The name of the display object.
IFeathersDisplayObject
  parent : DisplayObjectContainer
[read-only] The display object's parent, or null if it doesn't have a parent.
IFeathersDisplayObject
  pivotX : Number
The x coordinate of the display object's origin in its own coordinate space.
IFeathersDisplayObject
  pivotY : Number
The y coordinate of the display object's origin in its own coordinate space.
IFeathersDisplayObject
  root : DisplayObject
[read-only]
IFeathersDisplayObject
  rotation : Number
The rotation of the display object, in radians.
IFeathersDisplayObject
  scaleX : Number
This horizontal scale factor.
IFeathersDisplayObject
  scaleY : Number
The vertical scale factor.
IFeathersDisplayObject
  skewX : Number
The horizontal skew, in radians.
IFeathersDisplayObject
  skewY : Number
The vertical skew, in radians.
IFeathersDisplayObject
  stage : Stage
[read-only] The stage that the display object is connected to, or null if it is not connected to a stage.
IFeathersDisplayObject
  touchable : Boolean
Determines if the display object may be touched.
IFeathersDisplayObject
  transformationMatrix : Matrix
[read-only] The transformation matrix of the display object, relative to its parent.
IFeathersDisplayObject
  useHandCursor : Boolean
Determines if the mouse cursor should turn into a hand when the mouse is over the display object.
IFeathersDisplayObject
  visible : Boolean
Determines the visibility of the display object.
IFeathersDisplayObject
  width : Number
The width of the display object in the parent's coordinate space.
IFeathersDisplayObject
  x : Number
The x, or horizontal, position of the display object in the parent's coordinate space.
IFeathersDisplayObject
  y : Number
The y, or vertical, position of the display object in the parent's coordinate space.
IFeathersDisplayObject
Public Methods
 MethodDefined By
 Inherited
addEventListener(type:String, listener:Function):void
Adds a listener for an event type.
IFeathersEventDispatcher
 Inherited
dispatchEvent(event:Event):void
Dispatches an event to all listeners added for the specified event type.
IFeathersEventDispatcher
 Inherited
dispatchEventWith(type:String, bubbles:Boolean = false, data:Object = null):void
Dispatches an event from the pool with the specified to all listeners for the specified event type.
IFeathersEventDispatcher
  
dispose():void
Disposes the display object.
IFeathersDisplayObject
  
getBounds(targetSpace:DisplayObject, resultRect:Rectangle = null):Rectangle
Gets the display object's bounds in the target coordinate space.
IFeathersDisplayObject
  
getTransformationMatrix(targetSpace:DisplayObject, resultMatrix:Matrix = null):Matrix
Calculates a transformation matrix to convert values from the display object's coordinate space to a target coordinate space.
IFeathersDisplayObject
  
globalToLocal(globalPoint:Point, resultPoint:Point = null):Point
Converts a point from the stage's coordinate space to the display object's coordinate space.
IFeathersDisplayObject
 Inherited
hasEventListener(type:String, listener:Function = null):Boolean
Checks if a listener has been added for the specified event type.
IFeathersEventDispatcher
  
hitTest(localPoint:Point):DisplayObject
Determines if a point exists within the display object's bounds.
IFeathersDisplayObject
  
localToGlobal(localPoint:Point, resultPoint:Point = null):Point
Converts a point from the display object's coordinate space to the stage's coordinate space.
IFeathersDisplayObject
 Inherited
removeEventListener(type:String, listener:Function):void
Removes a listener for an event type.
IFeathersEventDispatcher
 Inherited
removeEventListeners(type:String = null):void
Removes all listeners for an event type.
IFeathersEventDispatcher
  
removeFromParent(dispose:Boolean = false):void
Removes a display object from its parent.
IFeathersDisplayObject
  
render(painter:Painter):void
Renders the display object.
IFeathersDisplayObject
Property Detail
alphaproperty
alpha:Number

The opacity of the display object.


Implementation
    public function get alpha():Number
    public function set alpha(value:Number):void

See also

baseproperty 
base:DisplayObject  [read-only]

The top-most object of the display tree that the display object is connected to.


Implementation
    public function get base():DisplayObject

See also

blendModeproperty 
blendMode:String

The blend mode used when rendering the display object.


Implementation
    public function get blendMode():String
    public function set blendMode(value:String):void

See also

boundsproperty 
bounds:Rectangle  [read-only]

The bounds of the display object in its local coordinate space.


Implementation
    public function get bounds():Rectangle

See also

filterproperty 
filter:FragmentFilter

The filter used when rendering the display object.


Implementation
    public function get filter():FragmentFilter
    public function set filter(value:FragmentFilter):void

See also

heightproperty 
height:Number

The height of the display object in the parent's coordinate space.


Implementation
    public function get height():Number
    public function set height(value:Number):void

See also

maskproperty 
mask:DisplayObject

The display object's mask.


Implementation
    public function get mask():DisplayObject
    public function set mask(value:DisplayObject):void

See also

nameproperty 
name:String

The name of the display object.


Implementation
    public function get name():String
    public function set name(value:String):void

See also

parentproperty 
parent:DisplayObjectContainer  [read-only]

The display object's parent, or null if it doesn't have a parent.


Implementation
    public function get parent():DisplayObjectContainer

See also

pivotXproperty 
pivotX:Number

The x coordinate of the display object's origin in its own coordinate space.


Implementation
    public function get pivotX():Number
    public function set pivotX(value:Number):void

See also

pivotYproperty 
pivotY:Number

The y coordinate of the display object's origin in its own coordinate space.


Implementation
    public function get pivotY():Number
    public function set pivotY(value:Number):void

See also

rootproperty 
root:DisplayObject  [read-only]


Implementation
    public function get root():DisplayObject

See also

rotationproperty 
rotation:Number

The rotation of the display object, in radians.


Implementation
    public function get rotation():Number
    public function set rotation(value:Number):void

See also

scaleXproperty 
scaleX:Number

This horizontal scale factor.


Implementation
    public function get scaleX():Number
    public function set scaleX(value:Number):void

See also

scaleYproperty 
scaleY:Number

The vertical scale factor.


Implementation
    public function get scaleY():Number
    public function set scaleY(value:Number):void

See also

skewXproperty 
skewX:Number

The horizontal skew, in radians.


Implementation
    public function get skewX():Number
    public function set skewX(value:Number):void

See also

skewYproperty 
skewY:Number

The vertical skew, in radians.


Implementation
    public function get skewY():Number
    public function set skewY(value:Number):void

See also

stageproperty 
stage:Stage  [read-only]

The stage that the display object is connected to, or null if it is not connected to a stage.


Implementation
    public function get stage():Stage

See also

touchableproperty 
touchable:Boolean

Determines if the display object may be touched.


Implementation
    public function get touchable():Boolean
    public function set touchable(value:Boolean):void

See also

transformationMatrixproperty 
transformationMatrix:Matrix  [read-only]

The transformation matrix of the display object, relative to its parent.


Implementation
    public function get transformationMatrix():Matrix

See also

useHandCursorproperty 
useHandCursor:Boolean

Determines if the mouse cursor should turn into a hand when the mouse is over the display object.


Implementation
    public function get useHandCursor():Boolean
    public function set useHandCursor(value:Boolean):void

See also

visibleproperty 
visible:Boolean

Determines the visibility of the display object.


Implementation
    public function get visible():Boolean
    public function set visible(value:Boolean):void

See also

widthproperty 
width:Number

The width of the display object in the parent's coordinate space.


Implementation
    public function get width():Number
    public function set width(value:Number):void

See also

xproperty 
x:Number

The x, or horizontal, position of the display object in the parent's coordinate space.


Implementation
    public function get x():Number
    public function set x(value:Number):void

See also

yproperty 
y:Number

The y, or vertical, position of the display object in the parent's coordinate space.


Implementation
    public function get y():Number
    public function set y(value:Number):void

See also

Method Detail
dispose()method
public function dispose():void

Disposes the display object.

See also

getBounds()method 
public function getBounds(targetSpace:DisplayObject, resultRect:Rectangle = null):Rectangle

Gets the display object's bounds in the target coordinate space.

Parameters

targetSpace:DisplayObject
 
resultRect:Rectangle (default = null)

Returns
Rectangle

See also

getTransformationMatrix()method 
public function getTransformationMatrix(targetSpace:DisplayObject, resultMatrix:Matrix = null):Matrix

Calculates a transformation matrix to convert values from the display object's coordinate space to a target coordinate space.

Parameters

targetSpace:DisplayObject
 
resultMatrix:Matrix (default = null)

Returns
Matrix

See also

globalToLocal()method 
public function globalToLocal(globalPoint:Point, resultPoint:Point = null):Point

Converts a point from the stage's coordinate space to the display object's coordinate space.

Parameters

globalPoint:Point
 
resultPoint:Point (default = null)

Returns
Point

See also

hitTest()method 
public function hitTest(localPoint:Point):DisplayObject

Determines if a point exists within the display object's bounds.

Parameters

localPoint:Point

Returns
DisplayObject

See also

localToGlobal()method 
public function localToGlobal(localPoint:Point, resultPoint:Point = null):Point

Converts a point from the display object's coordinate space to the stage's coordinate space.

Parameters

localPoint:Point
 
resultPoint:Point (default = null)

Returns
Point

See also

removeFromParent()method 
public function removeFromParent(dispose:Boolean = false):void

Removes a display object from its parent.

Parameters

dispose:Boolean (default = false)

See also

render()method 
public function render(painter:Painter):void

Renders the display object.

Parameters

painter:Painter

See also