Enum LineType
线条类型
线条类型。
派生自 ECMA-376 第 4 版第 1 部分“Office Open XML 文件格式 - 基础知识和标记语言参考”的 20.1.10.55 节中“ST_ShapeType”简单类型的值子集。
如需调用枚举,您可以调用其父类、名称和属性。例如
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”。此线条类型不是连接器。 |
如未另行说明,那么本页面中的内容已根据知识共享署名 4.0 许可获得了许可,并且代码示例已根据 Apache 2.0 许可获得了许可。有关详情,请参阅 Google 开发者网站政策。Java 是 Oracle 和/或其关联公司的注册商标。
最后更新时间 (UTC):2024-12-02。
[null,null,["最后更新时间 (UTC):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"]]