Enum LineCategory
קל לארגן דפים בעזרת אוספים
אפשר לשמור ולסווג תוכן על סמך ההעדפות שלך.
LineCategory
קטגוריית השורה.
ה-LineType
שנוצר נקבע על סמך הקטגוריה ועל סמך האופן שבו הוא מנותב כדי להתחבר לאלמנטים אחרים בדף.
כדי לקרוא למאפיין enum, צריך לקרוא לכיתה ההורה, לשם ולנכס שלו. לדוגמה,
SlidesApp.LineCategory.STRAIGHT
.
מאפיינים
נכס | סוג | תיאור |
UNSUPPORTED | Enum | קטגוריית שורה שלא נתמכת. |
STRAIGHT | Enum | מחברים ישרים, כולל מחבר ישר 1. |
BENT | Enum | מחברים כפופים, כולל מחברים כפופים 2 עד 5. |
CURVED | Enum | מחברים מעוקלים, כולל מחברים מעוקלים 2 עד 5. |
אלא אם צוין אחרת, התוכן של דף זה הוא ברישיון Creative Commons Attribution 4.0 ודוגמאות הקוד הן ברישיון Apache 2.0. לפרטים, ניתן לעיין במדיניות האתר Google Developers. Java הוא סימן מסחרי רשום של חברת Oracle ו/או של השותפים העצמאיים שלה.
עדכון אחרון: 2025-07-26 (שעון UTC).
[null,null,["עדכון אחרון: 2025-07-26 (שעון 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. |"]]