| Package | feathers.core |
| Interface | public interface IFeathersDisplayObject extends IFeathersEventDispatcher |
| Product Version : | Feathers 1.1.0 |
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
| Property | Defined 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 | ||
| Method | Defined By | ||
|---|---|---|---|
![]() | addEventListener(type:String, listener:Function):void
Adds a listener for an event type. | IFeathersEventDispatcher | |
![]() | dispatchEvent(event:Event):void
Dispatches an event to all listeners added for the specified event type. | IFeathersEventDispatcher | |
![]() | 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 | ||
![]() | 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 | ||
![]() | removeEventListener(type:String, listener:Function):void
Removes a listener for an event type. | IFeathersEventDispatcher | |
![]() | 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 | ||
| alpha | property |
alpha:NumberThe opacity of the display object.
public function get alpha():Number public function set alpha(value:Number):voidSee also
| base | property |
base:DisplayObject [read-only] The top-most object of the display tree that the display object is connected to.
public function get base():DisplayObjectSee also
| blendMode | property |
blendMode:StringThe blend mode used when rendering the display object.
public function get blendMode():String public function set blendMode(value:String):voidSee also
| bounds | property |
bounds:Rectangle [read-only] The bounds of the display object in its local coordinate space.
public function get bounds():RectangleSee also
| filter | property |
filter:FragmentFilterThe filter used when rendering the display object.
public function get filter():FragmentFilter public function set filter(value:FragmentFilter):voidSee also
| height | property |
height:NumberThe height of the display object in the parent's coordinate space.
public function get height():Number public function set height(value:Number):voidSee also
| mask | property |
mask:DisplayObjectThe display object's mask.
public function get mask():DisplayObject public function set mask(value:DisplayObject):voidSee also
| name | property |
name:StringThe name of the display object.
public function get name():String public function set name(value:String):voidSee also
| parent | property |
parent:DisplayObjectContainer [read-only]
The display object's parent, or null if it doesn't have
a parent.
public function get parent():DisplayObjectContainerSee also
| pivotX | property |
pivotX:NumberThe x coordinate of the display object's origin in its own coordinate space.
public function get pivotX():Number public function set pivotX(value:Number):voidSee also
| pivotY | property |
pivotY:NumberThe y coordinate of the display object's origin in its own coordinate space.
public function get pivotY():Number public function set pivotY(value:Number):voidSee also
| root | property |
root:DisplayObject [read-only]
public function get root():DisplayObjectSee also
| rotation | property |
rotation:NumberThe rotation of the display object, in radians.
public function get rotation():Number public function set rotation(value:Number):voidSee also
| scaleX | property |
scaleX:NumberThis horizontal scale factor.
public function get scaleX():Number public function set scaleX(value:Number):voidSee also
| scaleY | property |
scaleY:NumberThe vertical scale factor.
public function get scaleY():Number public function set scaleY(value:Number):voidSee also
| skewX | property |
skewX:NumberThe horizontal skew, in radians.
public function get skewX():Number public function set skewX(value:Number):voidSee also
| skewY | property |
skewY:NumberThe vertical skew, in radians.
public function get skewY():Number public function set skewY(value:Number):voidSee also
| stage | property |
stage:Stage [read-only]
The stage that the display object is connected to, or null
if it is not connected to a stage.
public function get stage():StageSee also
| touchable | property |
touchable:BooleanDetermines if the display object may be touched.
public function get touchable():Boolean public function set touchable(value:Boolean):voidSee also
| transformationMatrix | property |
transformationMatrix:Matrix [read-only] The transformation matrix of the display object, relative to its parent.
public function get transformationMatrix():MatrixSee also
| useHandCursor | property |
useHandCursor:BooleanDetermines if the mouse cursor should turn into a hand when the mouse is over the display object.
public function get useHandCursor():Boolean public function set useHandCursor(value:Boolean):voidSee also
| visible | property |
visible:BooleanDetermines the visibility of the display object.
public function get visible():Boolean public function set visible(value:Boolean):voidSee also
| width | property |
width:NumberThe width of the display object in the parent's coordinate space.
public function get width():Number public function set width(value:Number):voidSee also
| x | property |
x:NumberThe x, or horizontal, position of the display object in the parent's coordinate space.
public function get x():Number public function set x(value:Number):voidSee also
| y | property |
y:NumberThe y, or vertical, position of the display object in the parent's coordinate space.
public function get y():Number public function set y(value:Number):voidSee also
| dispose | () | method |
public function dispose():voidDisposes the display object.
See also
| getBounds | () | method |
public function getBounds(targetSpace:DisplayObject, resultRect:Rectangle = null):RectangleGets the display object's bounds in the target coordinate space.
Parameters
targetSpace:DisplayObject | |
resultRect:Rectangle (default = null) |
Rectangle |
See also
| getTransformationMatrix | () | method |
public function getTransformationMatrix(targetSpace:DisplayObject, resultMatrix:Matrix = null):MatrixCalculates 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) |
Matrix |
See also
| globalToLocal | () | method |
public function globalToLocal(globalPoint:Point, resultPoint:Point = null):PointConverts a point from the stage's coordinate space to the display object's coordinate space.
Parameters
globalPoint:Point | |
resultPoint:Point (default = null) |
Point |
See also
| hitTest | () | method |
public function hitTest(localPoint:Point):DisplayObjectDetermines if a point exists within the display object's bounds.
Parameters
localPoint:Point |
DisplayObject |
See also
| localToGlobal | () | method |
public function localToGlobal(localPoint:Point, resultPoint:Point = null):PointConverts a point from the display object's coordinate space to the stage's coordinate space.
Parameters
localPoint:Point | |
resultPoint:Point (default = null) |
Point |
See also
| removeFromParent | () | method |
public function removeFromParent(dispose:Boolean = false):voidRemoves a display object from its parent.
Parameters
dispose:Boolean (default = false) |
See also
| render | () | method |
public function render(painter:Painter):voidRenders the display object.
Parameters
painter:Painter |
See also