Enum LineCategory
Stay organized with collections
Save and categorize content based on your preferences.
LineCategory
The line category.
The exact LineType
created is determined based on the category and how it's routed to
connect to other page elements.
To call an enum, you call its parent class, name, and property. For example,
SlidesApp.LineCategory.STRAIGHT
.
Properties
Property | Type | Description |
UNSUPPORTED | Enum | A line category that is not supported. |
STRAIGHT | Enum | Straight connectors, including straight connector 1. |
BENT | Enum | Bent connectors, including bent connector 2 to 5. |
CURVED | Enum | Curved connectors, including curved connector 2 to 5. |
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-12-02 UTC.
[null,null,["Last updated 2024-12-02 UTC."],[[["\u003cp\u003e\u003ccode\u003eLineCategory\u003c/code\u003e defines the type of line used to connect elements in Google Slides, with options like straight, bent, and curved.\u003c/p\u003e\n"],["\u003cp\u003eThe specific \u003ccode\u003eLineType\u003c/code\u003e is automatically determined based on the chosen \u003ccode\u003eLineCategory\u003c/code\u003e and how it connects to other elements on the page.\u003c/p\u003e\n"],["\u003cp\u003eYou can access specific line categories using the enum structure like \u003ccode\u003eSlidesApp.LineCategory.STRAIGHT\u003c/code\u003e to specify the desired line type in your code.\u003c/p\u003e\n"],["\u003cp\u003eSeveral line categories are available, including \u003ccode\u003eSTRAIGHT\u003c/code\u003e, \u003ccode\u003eBENT\u003c/code\u003e, \u003ccode\u003eCURVED\u003c/code\u003e, and \u003ccode\u003eUNSUPPORTED\u003c/code\u003e for types not currently implemented.\u003c/p\u003e\n"]]],[],null,["# Enum LineCategory\n\nLineCategory\n\nThe line category.\n\nThe exact [LineType](/apps-script/reference/slides/line-type) created is determined based on the category and how it's routed to\nconnect to other page elements.\n\nTo call an enum, you call its parent class, name, and property. For example, `\nSlidesApp.LineCategory.STRAIGHT`. \n\n### Properties\n\n| Property | Type | Description |\n|---------------|--------|-------------------------------------------------------|\n| `UNSUPPORTED` | `Enum` | A line category that is not supported. |\n| `STRAIGHT` | `Enum` | Straight connectors, including straight connector 1. |\n| `BENT` | `Enum` | Bent connectors, including bent connector 2 to 5. |\n| `CURVED` | `Enum` | Curved connectors, including curved connector 2 to 5. |"]]