StageOptions class

The options used by the Stage constructor to setup the stage.

Constructors

StageOptions()

Properties

antialias bool
Initialize the render engine to support anti-aliasing for the Stage.
getter/setter pair
backgroundColor int
The background color for the Stage.
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
inputEventMode InputEventMode
The InputEventMode used for input events on the Stage.
getter/setter pair
maxPixelRatio num
The maximum pixel ratio used to initialize the Stage.
getter/setter pair
preventDefaultOnKeyboard bool
Prevents the browser's default behavior for keyboard events.
getter/setter pair
preventDefaultOnMouse bool
Prevents the browser's default behavior for mouse events.
getter/setter pair
preventDefaultOnTouch bool
Prevents the browser's default behavior for touch events.
getter/setter pair
preventDefaultOnWheel bool
Prevents the browser's default behavior for wheel events.
getter/setter pair
renderEngine RenderEngine
The RenderEngine used to render the Stage.
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
stageAlign StageAlign
The StageAlign used to render the Stage.
getter/setter pair
stageRenderMode StageRenderMode
The StageRenderMode used to render the Stage.
getter/setter pair
stageScaleMode StageScaleMode
The StageScaleMode used to render the Stage.
getter/setter pair
transparent bool
Initialize the render engine to support transparency for the Stage.
getter/setter pair

Methods

clone() StageOptions
Create a deep clone of this StageOptions.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited