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.

read / write
backgroundColor → int

The background color for the Stage.

read / write
hashCode → int

Get a hash code for this object.

read-only, inherited
inputEventMode InputEventMode

The InputEventMode used for input events on the Stage.

read / write
maxPixelRatio → num

The maximum pixel ratio used to initialize the Stage.

read / write
preventDefaultOnKeyboard → bool

Prevents the browser's default behavior for keyboard events.

read / write
preventDefaultOnMouse → bool

Prevents the browser's default behavior for mouse events.

read / write
preventDefaultOnTouch → bool

Prevents the browser's default behavior for touch events.

read / write
preventDefaultOnWheel → bool

Prevents the browser's default behavior for wheel events.

read / write
renderEngine RenderEngine

The RenderEngine used to render the Stage.

read / write
runtimeType → Type

A representation of the runtime type of the object.

read-only, inherited
stageAlign StageAlign

The StageAlign used to render the Stage.

read / write
stageRenderMode StageRenderMode

The StageRenderMode used to render the Stage.

read / write
stageScaleMode StageScaleMode

The StageScaleMode used to render the Stage.

read / write
transparent → bool

Initialize the render engine to support transparency for the Stage.

read / write

Operators

operator ==(other) → bool

The equality operator.

inherited

Methods

clone() StageOptions

Create a deep clone of this StageOptions.

noSuchMethod(Invocation invocation) → dynamic

Invoked when a non-existent method or property is accessed.

inherited
toString() → String

Returns a string representation of this object.

inherited