Stay organized with collections
Save and categorize content based on your preferences.
LineType
The line types.
Derived from a subset of the values of the "ST_ShapeType" simple type in section 20.1.10.55 of
"Office Open XML File Formats - Fundamentals and Markup Language Reference", part 1 of ECMA-376 4th
edition.
To call an enum, you call its parent class, name, and property. For example,
SlidesApp.LineType.STRAIGHT_CONNECTOR_1.
Properties
Property
Type
Description
UNSUPPORTED
Enum
A line type that is not supported.
STRAIGHT_CONNECTOR_1
Enum
Straight connector 1 form. Corresponds to ECMA-376 ST_ShapeType 'straightConnector1'.
BENT_CONNECTOR_2
Enum
Bent connector 2 form. Corresponds to ECMA-376 ST_ShapeType 'bentConnector2'.
BENT_CONNECTOR_3
Enum
Bent connector 3 form. Corresponds to ECMA-376 ST_ShapeType 'bentConnector3'.
BENT_CONNECTOR_4
Enum
Bent connector 4 form. Corresponds to ECMA-376 ST_ShapeType 'bentConnector4'.
BENT_CONNECTOR_5
Enum
Bent connector 5 form. Corresponds to ECMA-376 ST_ShapeType 'bentConnector5'.
CURVED_CONNECTOR_2
Enum
Curved connector 2 form. Corresponds to ECMA-376 ST_ShapeType 'curvedConnector2'.
CURVED_CONNECTOR_3
Enum
Curved connector 3 form. Corresponds to ECMA-376 ST_ShapeType 'curvedConnector3'.
CURVED_CONNECTOR_4
Enum
Curved connector 4 form. Corresponds to ECMA-376 ST_ShapeType 'curvedConnector4'.
CURVED_CONNECTOR_5
Enum
Curved connector 5 form. Corresponds to ECMA-376 ST_ShapeType 'curvedConnector5'.
STRAIGHT_LINE
Enum
Straight line. Corresponds to ECMA-376 ST_ShapeType 'line'. This line type is not a connector.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2024-12-02 UTC."],[[["`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"]]