Package | flash.display |
Class | public final class StageAspectRatio |
Inheritance | StageAspectRatio ![]() |
Language Version: | ActionScript 3.0 |
Runtime Versions: | AIR 2 |
Stage.setAspectRatio()
method.
Related API Elements
Public Properties
Public Methods
Public Constants
Constant | Defined By | ||
---|---|---|---|
ANY : String = "any" [static]
Specifies a device orientation that supports both portrait and landscape UI. | StageAspectRatio | ||
LANDSCAPE : String = "landscape" [static]
Specifies a device orientation that presents a landscape UI
| StageAspectRatio | ||
PORTRAIT : String = "portrait" [static]
Specifies a device orientation that presents a portrait UI
| StageAspectRatio |
Constant Detail
ANY | Constant |
public static const ANY:String = "any"
Language Version: | ActionScript 3.0 |
Runtime Versions: | AIR 3.3 |
Specifies a device orientation that supports both portrait and landscape UI. Requires SWF version 16 or higher.
LANDSCAPE | Constant |
public static const LANDSCAPE:String = "landscape"
Language Version: | ActionScript 3.0 |
Runtime Versions: | AIR 2 |
Specifies a device orientation that presents a landscape UI
PORTRAIT | Constant |
public static const PORTRAIT:String = "portrait"
Language Version: | ActionScript 3.0 |
Runtime Versions: | AIR 2 |
Specifies a device orientation that presents a portrait UI
Mon Apr 10 2017, 12:28 PM -07:00