Enum LineType

  • LineType represents various line types derived from a subset of ST_ShapeType values in ECMA-376.

  • To use an enum, you call its parent class, name, and property, such asSlidesApp.LineType.STRAIGHT_CONNECTOR_1.

  • The available LineType properties include different straight, bent, and curved connectors, as well as a straight line and an unsupported type.

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 ofECMA-376 5thedition.

To call an enum, you call its parent class, name, and property. For example,SlidesApp.LineType.STRAIGHT_CONNECTOR_1.

Properties

PropertyTypeDescription
UNSUPPORTEDEnumA line type that is not supported.
STRAIGHT_CONNECTOR_1EnumStraight connector 1 form. Corresponds to ECMA-376 ST_ShapeType 'straightConnector1'.
BENT_CONNECTOR_2EnumBent connector 2 form. Corresponds to ECMA-376 ST_ShapeType 'bentConnector2'.
BENT_CONNECTOR_3EnumBent connector 3 form. Corresponds to ECMA-376 ST_ShapeType 'bentConnector3'.
BENT_CONNECTOR_4EnumBent connector 4 form. Corresponds to ECMA-376 ST_ShapeType 'bentConnector4'.
BENT_CONNECTOR_5EnumBent connector 5 form. Corresponds to ECMA-376 ST_ShapeType 'bentConnector5'.
CURVED_CONNECTOR_2EnumCurved connector 2 form. Corresponds to ECMA-376 ST_ShapeType 'curvedConnector2'.
CURVED_CONNECTOR_3EnumCurved connector 3 form. Corresponds to ECMA-376 ST_ShapeType 'curvedConnector3'.
CURVED_CONNECTOR_4EnumCurved connector 4 form. Corresponds to ECMA-376 ST_ShapeType 'curvedConnector4'.
CURVED_CONNECTOR_5EnumCurved connector 5 form. Corresponds to ECMA-376 ST_ShapeType 'curvedConnector5'.
STRAIGHT_LINEEnumStraight line. Corresponds to ECMA-376 ST_ShapeType 'line'. This line type is not a connector.

Except as otherwise noted, the content of this page is licensed under theCreative Commons Attribution 4.0 License, and code samples are licensed under theApache 2.0 License. For details, see theGoogle Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2025-12-11 UTC.