Enum LineCategory
コレクションでコンテンツを整理
必要に応じて、コンテンツの保存と分類を行います。
線カテゴリ線のカテゴリ。
作成される LineType
は、カテゴリと、他のページ要素に接続するためにルーティングされる方法に基づいて決定されます。
列挙型を呼び出すには、その親クラス、名前、プロパティを呼び出します。たとえば、
SlidesApp.LineCategory.STRAIGHT
です。
プロパティ
プロパティ | タイプ | 説明 |
UNSUPPORTED | Enum | サポートされていない線のカテゴリ。 |
STRAIGHT | Enum | ストレート コネクタ(ストレート コネクタ 1 を含む)。 |
BENT | Enum | コネクタの曲がり(コネクタ 2 ~ 5 の曲がりを含む)。 |
CURVED | Enum | 曲線コネクタ(曲線コネクタ 2 ~ 5 など)。 |
特に記載のない限り、このページのコンテンツはクリエイティブ・コモンズの表示 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. |"]]