Enum Orientation
透過集合功能整理內容
你可以依據偏好儲存及分類內容。
螢幕方向物件的方向列舉。
如要呼叫列舉,您可以呼叫其父項類別、名稱和屬性。例如
Charts.Orientation.HORIZONTAL
。
屬性
屬性 | 類型 | 說明 |
HORIZONTAL | Enum | 橫向。 |
VERTICAL | Enum | 直向。 |
除非另有註明,否則本頁面中的內容是採用創用 CC 姓名標示 4.0 授權,程式碼範例則為阿帕契 2.0 授權。詳情請參閱《Google Developers 網站政策》。Java 是 Oracle 和/或其關聯企業的註冊商標。
上次更新時間:2025-07-26 (世界標準時間)。
[null,null,["上次更新時間:2025-07-26 (世界標準時間)。"],[[["\u003cp\u003eOrientation is used to define the direction of an object.\u003c/p\u003e\n"],["\u003cp\u003eYou can access orientation types using \u003ccode\u003eCharts.Orientation.[property]\u003c/code\u003e format, for example, \u003ccode\u003eCharts.Orientation.HORIZONTAL\u003c/code\u003e to specify horizontal orientation.\u003c/p\u003e\n"],["\u003cp\u003eAvailable orientation properties include \u003ccode\u003eHORIZONTAL\u003c/code\u003e and \u003ccode\u003eVERTICAL\u003c/code\u003e, allowing you to set horizontal or vertical direction respectively.\u003c/p\u003e\n"]]],[],null,["# Enum Orientation\n\nOrientation\n\nAn enumeration of the orientation of an object.\n\nTo call an enum, you call its parent class, name, and property. For example, `\nCharts.Orientation.HORIZONTAL`. \n\n### Properties\n\n| Property | Type | Description |\n|--------------|--------|-------------------------|\n| `HORIZONTAL` | `Enum` | Horizontal orientation. |\n| `VERTICAL` | `Enum` | Vertical orientation. |"]]