Namespace: StageOrientation

graphics.display. StageOrientation

The graphics.display.StageOrientation enumeration defines constants enumerating the possible orientations of the stage and the device.

Members


<static, constant> DEFAULT :string

Specifies that the stage is currently in the default orientation of the device (right-side up).

Type:
  • string
Default Value:
  • default

<static, constant> ROTATED_LEFT :string

Specifies that the stage is currently rotated left relative to the default orientation.

Type:
  • string
Default Value:
  • rotatedLeft

<static, constant> ROTATED_RIGHT :string

Specifies that the stage is currently rotated right relative to the default orientation.

Type:
  • string
Default Value:
  • rotatedRight

<static, constant> UNKNOWN :string

Specifies that the device has not determined an orientation. This state can occur when the device is lying flat on a table and also while the application is initializing.

Type:
  • string
Default Value:
  • unknown

<static, constant> UPSIDE_DOWN :string

Specifies that the stage is currently upside down relative to the default orientation.

Type:
  • string
Default Value:
  • upsideDown