Enum LineType
LineType
線條類型。
源自「Office Open XML 檔案格式 - 基礎知識和標記語言參考資料」(「Office Open XML File Formats - Fundamentals and Markup Language Reference」) 的 20.1.10.55 節,ECMA-376 第 4 版的第 1 部分。
如要呼叫列舉,請呼叫其父項類別、名稱和屬性。例如
SlidesApp.LineType.STRAIGHT_CONNECTOR_1
。
屬性
屬性 | 類型 | 說明 |
UNSUPPORTED | Enum | 不支援的線條類型。 |
STRAIGHT_CONNECTOR_1 | Enum | 直線連接器 1 表單。對應至 ECMA-376 ST_ShapeType 的「straightConnector1」。 |
BENT_CONNECTOR_2 | Enum | 彎曲的連接器 2 表單。對應至 ECMA-376 ST_ShapeType 的「bentConnector2」。 |
BENT_CONNECTOR_3 | Enum | 彎曲的連接器 3 型式。對應至 ECMA-376 ST_ShapeType 的「bentConnector3」。 |
BENT_CONNECTOR_4 | Enum | 彎曲的連接器 4 表單。對應至 ECMA-376 ST_ShapeType「bentConnector4」。 |
BENT_CONNECTOR_5 | Enum | 彎曲的連接器 5 表單。對應至 ECMA-376 ST_ShapeType「bentConnector5」。 |
CURVED_CONNECTOR_2 | Enum | 弧形連接線 2 的形狀。對應至 ECMA-376 ST_ShapeType 的「curvedConnector2」。 |
CURVED_CONNECTOR_3 | Enum | 弧形連接線 3 型。對應至 ECMA-376 ST_ShapeType 的「curvedConnector3」。 |
CURVED_CONNECTOR_4 | Enum | 弧形連接線 4 型式。對應至 ECMA-376 ST_ShapeType 的「curvedConnector4」。 |
CURVED_CONNECTOR_5 | Enum | 弧形連接線 5 的形狀。對應至 ECMA-376 ST_ShapeType 的「curvedConnector5」。 |
STRAIGHT_LINE | Enum | 直線。對應至 ECMA-376 ST_ShapeType 的「line」。這類線條不是連接器。 |
除非另有註明,否則本頁面中的內容是採用創用 CC 姓名標示 4.0 授權,程式碼範例則為阿帕契 2.0 授權。詳情請參閱《Google Developers 網站政策》。Java 是 Oracle 和/或其關聯企業的註冊商標。
上次更新時間:2024-12-02 (世界標準時間)。
[null,null,["上次更新時間:2024-12-02 (世界標準時間)。"],[[["`LineType` defines the type of line used in Google Slides, derived from the ECMA-376 standard for Office Open XML file formats."],["You can use various line types, including straight, bent, and curved connectors, as well as a straight line (non-connector)."],["To specify a line type within your code, utilize the syntax `SlidesApp.LineType.[property]`, such as `SlidesApp.LineType.STRAIGHT_CONNECTOR_1`."],["Each `LineType` property corresponds to a specific shape type as defined in the ECMA-376 standard."]]],["Line types, derived from ECMA-376's \"ST_ShapeType,\" define various line forms. These include `UNSUPPORTED`, `STRAIGHT_CONNECTOR_1`, and several `BENT_CONNECTOR` and `CURVED_CONNECTOR` types (2-5). `STRAIGHT_LINE`, is also included. Each type corresponds to a specific ECMA-376 value. To use a specific enum value, reference it through `SlidesApp.LineType`, for example, `SlidesApp.LineType.STRAIGHT_CONNECTOR_1`.\n"]]