W3cubDocs

/Haxe Flash

DisplayObject

package flash.display

extends EventDispatcher

implements IBitmapDrawable

extended by AVM1Movie, Bitmap, InteractiveObject, MorphShape, Shape, Video, StaticText

Available on flash

Variables

accessibilityProperties:AccessibilityProperties

alpha:Float

blendMode:BlendMode

@:require(flash10) write only blendShader:Shader

cacheAsBitmap:Bool

filters:Array<BitmapFilter>

height:Float

read only loaderInfo:LoaderInfo

mask:DisplayObject

read only mouseX:Float

read only mouseY:Float

name:String

opaqueBackground:Null<UInt>

read only parent:DisplayObjectContainer

read only root:DisplayObject

rotation:Float

@:require(flash10) rotationX:Float

@:require(flash10) rotationY:Float

@:require(flash10) rotationZ:Float

scale9Grid:Rectangle

scaleX:Float

scaleY:Float

@:require(flash10) scaleZ:Float

scrollRect:Rectangle

read only stage:Stage

transform:Transform

visible:Bool

width:Float

x:Float

y:Float

@:require(flash10) z:Float

Methods

getBounds (targetCoordinateSpace:DisplayObject):Rectangle

getRect (targetCoordinateSpace:DisplayObject):Rectangle

globalToLocal (point:Point):Point

@:require(flash10) globalToLocal3D (point:Point):Vector3D

hitTestObject (obj:DisplayObject):Bool

@:value({ shapeFlag : false }) hitTestPoint (x:Float, y:Float, shapeFlag:Bool = false):Bool

@:require(flash10) local3DToGlobal (point3d:Vector3D):Point

localToGlobal (point:Point):Point

© 2005–2018 Haxe Foundation
Licensed under a MIT license.
https://api.haxe.org/flash/display/DisplayObject.html