API documentation
class openfl.display.Sprite extends DisplayObjectContainer
Inherited from DisplayObjectContainer
var mouseChildren:Bool
var numChildren:Int
var tabChildren:Bool
function __renderCairo(renderSession:RenderSession):Void
function __renderCairoMask(renderSession:RenderSession):Void
function __renderCanvas(renderSession:RenderSession):Void
function __renderCanvasMask(renderSession:RenderSession):Void
function __renderDOM(renderSession:RenderSession):Void
function __renderGL(renderSession:RenderSession):Void
function __update(transformOnly:Bool, updateChildren:Bool, ?maskGraphics:Graphics):Void
function __updateChildren(transformOnly:Bool):Void
function addChild(child:DisplayObject):DisplayObject
function addChildAt(child:DisplayObject, index:Int):DisplayObject
function areInaccessibleObjectsUnderPoint(point:Point):Bool
function contains(child:DisplayObject):Bool
function getChildAt(index:Int):DisplayObject
function getChildByName(name:String):DisplayObject
function getChildIndex(child:DisplayObject):Int
function getObjectsUnderPoint(point:Point):Array<DisplayObject>
function removeChild(child:DisplayObject):DisplayObject
function removeChildAt(index:Int):DisplayObject
function removeChildren(?beginIndex:Int, ?endIndex:Int):Void
function setChildIndex(child:DisplayObject, index:Int):Void
function swapChildren(child1:DisplayObject, child2:DisplayObject):Void
function swapChildrenAt(index1:Int, index2:Int):Void
Inherited from InteractiveObject
var doubleClickEnabled:Bool
var focusRect:Dynamic
var mouseEnabled:Bool
var needsSoftKeyboard:Bool
var softKeyboardInputAreaOfInterest:Rectangle
var tabEnabled:Bool
var tabIndex:Int
function requestSoftKeyboard():Bool
Inherited from DisplayObject
var __renderTransform:Matrix
var __worldColorTransform:ColorTransform
var __worldOffset:Point
var __worldTransform:Matrix
var alpha:Float
var blendMode:BlendMode
var cacheAsBitmap:Bool
var cacheAsBitmapBounds:Rectangle
var cacheAsBitmapMatrix:Matrix
var cacheAsBitmapSmooth:Bool
var filters:Array<BitmapFilter>
var height:Float
var loaderInfo:LoaderInfo
var mask:DisplayObject
var mouseX:Float
var mouseY:Float
var name:String
var opaqueBackground:Null<Int>
var parent:DisplayObjectContainer
var root:DisplayObject
var rotation:Float
var scale9Grid:Rectangle
var scaleX:Float
var scaleY:Float
var scrollRect:Rectangle
var shader:Shader
var stage:Stage
var transform:Transform
var visible:Bool
var width:Float
var x:Float
var y:Float
function __cacheGL(renderSession:RenderSession):Void
function __drawGraphicsGL(renderSession:RenderSession):Void
function __postRenderGL(renderSession:RenderSession):Void
function __preRenderGL(renderSession:RenderSession):Void
function __updateMask(maskGraphics:Graphics):Void
function __updateTransforms(?overrideTransform:Matrix):Void
function getBounds(targetCoordinateSpace:DisplayObject):Rectangle
function getRect(targetCoordinateSpace:DisplayObject):Rectangle
function globalToLocal(pos:Point):Point
function hitTestObject(obj:DisplayObject):Bool
function hitTestPoint(x:Float, y:Float, ?shapeFlag:Bool):Bool
function localToGlobal(point:Point):Point
Inherited from EventDispatcher
function addEventListener(type:String, listener:Dynamic ->Void?useCapture:Bool, ?priority:Int, ?useWeakReference:Bool):Void
function dispatchEvent(event:Event):Bool
function hasEventListener(type:String):Bool
function removeEventListener(type:String, listener:Dynamic ->Void?useCapture:Bool):Void
function toString():String
function willTrigger(type:String):Bool
var buttonMode:Bool
var graphics:Graphics
var hitArea:Sprite
var useHandCursor:Bool
function new(): Void
function startDrag(?lockCenter:Bool, ?bounds:Rectangle): Void
function stopDrag(): Void