Enum LineCategory
Koleksiyonlar ile düzeninizi koruyun
İçeriği tercihlerinize göre kaydedin ve kategorilere ayırın.
SatırKategorisi
Satır kategorisi.
Oluşturulan LineType
öğesi, kategoriye ve diğer sayfa öğelerine bağlanmak için nasıl yönlendirildiğine göre belirlenir.
Bir enum'u çağırmak için üst sınıfını, adını ve özelliğini çağırırsınız. Örneğin,
SlidesApp.LineCategory.STRAIGHT
.
Özellikler
Mülk | Tür | Açıklama |
UNSUPPORTED | Enum | Desteklenmeyen bir satır kategorisi. |
STRAIGHT | Enum | 1 numaralı düz konnektör dahil düz konnektörler. |
BENT | Enum | 2 ila 5 arasındaki bükülmüş konnektörler dahil bükülmüş konnektörler. |
CURVED | Enum | 2 ila 5 arasındaki eğri bağlayıcılar dahil olmak üzere eğri bağlayıcılar. |
Aksi belirtilmediği sürece bu sayfanın içeriği Creative Commons Atıf 4.0 Lisansı altında ve kod örnekleri Apache 2.0 Lisansı altında lisanslanmıştır. Ayrıntılı bilgi için Google Developers Site Politikaları'na göz atın. Java, Oracle ve/veya satış ortaklarının tescilli ticari markasıdır.
Son güncelleme tarihi: 2025-07-26 UTC.
[null,null,["Son güncelleme tarihi: 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. |"]]