| 套件 | flash.display |
| 類別 | public final class StageOrientation |
| 繼承 | StageOrientation Object |
| 語言版本: | ActionScript 3.0 |
| 執行階段版本: | AIR 2 |
相關 API 元素
flash.display.Stage.orientation
flash.display.Stage.setOrientation()
flash.display.Stage.deviceOrientation
flash.events.StageOrientationEvent.afterOrientation
flash.events.StageOrientationEvent.beforeOrientation
flash.display.Stage.setOrientation()
flash.display.Stage.deviceOrientation
flash.events.StageOrientationEvent.afterOrientation
flash.events.StageOrientationEvent.beforeOrientation
公用常數
| 常數 | 定義自 | ||
|---|---|---|---|
| DEFAULT : String = "default" [靜態]
指定舞台目前位於裝置的預設向方 (正面朝上)。 | StageOrientation | ||
| ROTATED_LEFT : String = "rotatedLeft" [靜態]
指定舞台目前從預設方向往左旋轉。 | StageOrientation | ||
| ROTATED_RIGHT : String = "rotatedRight" [靜態]
指定舞台目前從預設方向往右旋轉。 | StageOrientation | ||
| UNKNOWN : String = "unknown" [靜態]
指定裝置尚未確立方向。 | StageOrientation | ||
| UPSIDE_DOWN : String = "upsideDown" [靜態]
指定舞台目前從預設方向上下顛倒。 | StageOrientation | ||
常數詳細資訊
DEFAULT | 常數 |
public static const DEFAULT:String = "default"| 語言版本: | ActionScript 3.0 |
| 執行階段版本: | AIR 2 |
指定舞台目前位於裝置的預設向方 (正面朝上)。
ROTATED_LEFT | 常數 |
public static const ROTATED_LEFT:String = "rotatedLeft"| 語言版本: | ActionScript 3.0 |
| 執行階段版本: | AIR 2 |
指定舞台目前從預設方向往左旋轉。
注意:當裝置的方向往左旋轉時,舞台的方向必須往右旋轉才能保持直立的方向。
ROTATED_RIGHT | 常數 |
public static const ROTATED_RIGHT:String = "rotatedRight"| 語言版本: | ActionScript 3.0 |
| 執行階段版本: | AIR 2 |
指定舞台目前從預設方向往右旋轉。
注意:當裝置的方向往右旋轉時,舞台的方向必須往左旋轉才能保持直立的方向。
UNKNOWN | 常數 |
public static const UNKNOWN:String = "unknown"| 語言版本: | ActionScript 3.0 |
| 執行階段版本: | AIR 2 |
指定裝置尚未確立方向。當裝置平放在桌上,以及當應用程式正在初始化時,便可能發生此狀態。
UPSIDE_DOWN | 常數 |
public static const UPSIDE_DOWN:String = "upsideDown"| 語言版本: | ActionScript 3.0 |
| 執行階段版本: | AIR 2 |
指定舞台目前從預設方向上下顛倒。
Tue Jun 12 2018, 03:47 PM Z
隱藏繼承公用屬性
顯示繼承公用屬性