API documentation
class openfl.display.Stage 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 align:StageAlign
var allowsFullScreen:Bool
var allowsFullScreenInteractive:Bool
var application:Application
var color:Int
var displayState:StageDisplayState
var focus:InteractiveObject
var frameRate:Float
var quality:StageQuality
var scaleMode:StageScaleMode
var stage3Ds:Vector<Stage3D>
var stageFocusRect:Bool
var stageHeight:Int
var stageWidth:Int
var window:Window
function new(window:Window, ?color:Int): Void
function __update(transformOnly:Bool, updateChildren:Bool, ?maskGrahpics:Graphics): Void
function globalToLocal(pos:Point): Point
function invalidate(): Void
function localToGlobal(pos:Point): Point
function onGamepadAxisMove(gamepad:Gamepad, axis:GamepadAxis, value:Float): Void
function onGamepadButtonDown(gamepad:Gamepad, button:GamepadButton): Void
function onGamepadButtonUp(gamepad:Gamepad, button:GamepadButton): Void
function onGamepadConnect(gamepad:Gamepad): Void
function onGamepadDisconnect(gamepad:Gamepad): Void
function onJoystickAxisMove(joystick:Joystick, axis:Int, value:Float): Void
function onJoystickButtonDown(joystick:Joystick, button:Int): Void
function onJoystickButtonUp(joystick:Joystick, button:Int): Void
function onJoystickConnect(joystick:Joystick): Void
function onJoystickDisconnect(joystick:Joystick): Void
function onJoystickHatMove(joystick:Joystick, hat:Int, position:JoystickHatPosition): Void
function onJoystickTrackballMove(joystick:Joystick, trackball:Int, value:Float): Void
function onKeyDown(window:Window, keyCode:KeyCode, modifier:KeyModifier): Void
function onKeyUp(window:Window, keyCode:KeyCode, modifier:KeyModifier): Void
function onModuleExit(code:Int): Void
function onMouseDown(window:Window, x:Float, y:Float, button:Int): Void
function onMouseMove(window:Window, x:Float, y:Float): Void
function onMouseMoveRelative(window:Window, x:Float, y:Float): Void
function onMouseUp(window:Window, x:Float, y:Float, button:Int): Void
function onMouseWheel(window:Window, deltaX:Float, deltaY:Float): Void
function onPreloadComplete(): Void
function onPreloadProgress(loaded:Int, total:Int): Void
function onRenderContextLost(renderer:Renderer): Void
function onRenderContextRestored(renderer:Renderer, context:RenderContext): Void
function onTextEdit(window:Window, text:String, start:Int, length:Int): Void
function onTextInput(window:Window, text:String): Void
function onTouchEnd(touch:Touch): Void
function onTouchMove(touch:Touch): Void
function onTouchStart(touch:Touch): Void
function onWindowActivate(window:Window): Void
function onWindowClose(window:Window): Void
function onWindowCreate(window:Window): Void
function onWindowDeactivate(window:Window): Void
function onWindowDropFile(window:Window, file:String): Void
function onWindowEnter(window:Window): Void
function onWindowFocusIn(window:Window): Void
function onWindowFocusOut(window:Window): Void
function onWindowFullscreen(window:Window): Void
function onWindowLeave(window:Window): Void
function onWindowMinimize(window:Window): Void
function onWindowMove(window:Window, x:Float, y:Float): Void
function onWindowResize(window:Window, width:Int, height:Int): Void
function onWindowRestore(window:Window): Void
function render(renderer:Renderer): Void
function update(deltaTime:Int): Void