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:Number
The opacity of the display object.
public function get alpha():Number
public function set alpha(value:Number):void
See 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():DisplayObject
See also
blendMode | property |
blendMode:String
The blend mode used when rendering the display object.
public function get blendMode():String
public function set blendMode(value:String):void
See also
bounds | property |
bounds:Rectangle
[read-only] The bounds of the display object in its local coordinate space.
public function get bounds():Rectangle
See also
filter | property |
filter:FragmentFilter
The filter used when rendering the display object.
public function get filter():FragmentFilter
public function set filter(value:FragmentFilter):void
See also
height | property |
height:Number
The height of the display object in the parent's coordinate space.
public function get height():Number
public function set height(value:Number):void
See also
mask | property |
mask:DisplayObject
The display object's mask.
public function get mask():DisplayObject
public function set mask(value:DisplayObject):void
See also
name | property |
name:String
The name of the display object.
public function get name():String
public function set name(value:String):void
See 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():DisplayObjectContainer
See also
pivotX | property |
pivotX:Number
The x coordinate of the display object's origin in its own coordinate space.
public function get pivotX():Number
public function set pivotX(value:Number):void
See also
pivotY | property |
pivotY:Number
The y coordinate of the display object's origin in its own coordinate space.
public function get pivotY():Number
public function set pivotY(value:Number):void
See also
root | property |
root:DisplayObject
[read-only]
public function get root():DisplayObject
See also
rotation | property |
rotation:Number
The rotation of the display object, in radians.
public function get rotation():Number
public function set rotation(value:Number):void
See also
scaleX | property |
scaleX:Number
This horizontal scale factor.
public function get scaleX():Number
public function set scaleX(value:Number):void
See also
scaleY | property |
scaleY:Number
The vertical scale factor.
public function get scaleY():Number
public function set scaleY(value:Number):void
See also
skewX | property |
skewX:Number
The horizontal skew, in radians.
public function get skewX():Number
public function set skewX(value:Number):void
See also
skewY | property |
skewY:Number
The vertical skew, in radians.
public function get skewY():Number
public function set skewY(value:Number):void
See 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():Stage
See also
touchable | property |
touchable:Boolean
Determines if the display object may be touched.
public function get touchable():Boolean
public function set touchable(value:Boolean):void
See also
transformationMatrix | property |
transformationMatrix:Matrix
[read-only] The transformation matrix of the display object, relative to its parent.
public function get transformationMatrix():Matrix
See also
useHandCursor | property |
useHandCursor:Boolean
Determines 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):void
See also
visible | property |
visible:Boolean
Determines the visibility of the display object.
public function get visible():Boolean
public function set visible(value:Boolean):void
See also
width | property |
width:Number
The width of the display object in the parent's coordinate space.
public function get width():Number
public function set width(value:Number):void
See also
x | property |
x:Number
The 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):void
See also
y | property |
y:Number
The 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):void
See also
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 )
|
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 )
|
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 )
|
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 |
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 )
|
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