Enum LineCategory
تنظيم صفحاتك في مجموعات
يمكنك حفظ المحتوى وتصنيفه حسب إعداداتك المفضّلة.
الفئةالخطية
فئة السطر.
يتم تحديد LineType
الذي تم إنشاؤه بالضبط استنادًا إلى الفئة وكيفية توجيهه
للربط بعناصر الصفحة الأخرى.
لاستدعاء قائمة أرقام صحيحة، عليك استدعاء الصف الرئيسي والاسم والخاصية. مثلاً:
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 (حسب التوقيت العالمي المتفَّق عليه)
[null,null,["تاريخ التعديل الأخير: 2025-07-26 (حسب التوقيت العالمي المتفَّق عليه)"],[[["\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. |"]]