Enum LineType
จัดทุกอย่างให้เป็นระเบียบอยู่เสมอด้วยคอลเล็กชัน
บันทึกและจัดหมวดหมู่เนื้อหาตามค่ากำหนดของคุณ
ประเภทเส้น
ประเภทเส้น
ได้มาจากชุดย่อยของค่าของประเภทอย่างง่าย "ST_ShapeType" ในส่วน 20.1.10.55 ของ
"รูปแบบไฟล์ Office Open XML - ข้อมูลพื้นฐานและการอ้างอิงภาษา Markup" ส่วนที่ 1 ของECMA-376 ฉบับที่ 5
หากต้องการเรียกใช้ Enum ให้เรียกใช้คลาสหลัก ชื่อ และพร็อพเพอร์ตี้ของ Enum เช่น
SlidesApp.LineType.STRAIGHT_CONNECTOR_1
พร็อพเพอร์ตี้
พร็อพเพอร์ตี้ | ประเภท | คำอธิบาย |
UNSUPPORTED | Enum | ประเภทบรรทัดที่ไม่รองรับ |
STRAIGHT_CONNECTOR_1 | Enum | แบบฟอร์มเส้นเชื่อมแบบตรง 1 สอดคล้องกับ ECMA-376 ST_ShapeType 'straightConnector1' |
BENT_CONNECTOR_2 | Enum | แบบฟอร์มตัวเชื่อมต่อแบบงอ 2 สอดคล้องกับ ECMA-376 ST_ShapeType 'bentConnector2' |
BENT_CONNECTOR_3 | Enum | รูปแบบขั้วต่อแบบงอ 3 สอดคล้องกับ ECMA-376 ST_ShapeType 'bentConnector3' |
BENT_CONNECTOR_4 | Enum | แบบฟอร์มตัวเชื่อมต่อแบบงอ 4 สอดคล้องกับ ECMA-376 ST_ShapeType 'bentConnector4' |
BENT_CONNECTOR_5 | Enum | แบบฟอร์มตัวเชื่อมต่อแบบงอ 5 สอดคล้องกับ ST_ShapeType 'bentConnector5' ของ ECMA-376 |
CURVED_CONNECTOR_2 | Enum | รูปแบบเส้นเชื่อมแบบโค้ง 2 สอดคล้องกับ ECMA-376 ST_ShapeType 'curvedConnector2' |
CURVED_CONNECTOR_3 | Enum | เส้นเชื่อมแบบโค้ง 3 รูปแบบ สอดคล้องกับ ECMA-376 ST_ShapeType "curvedConnector3" |
CURVED_CONNECTOR_4 | Enum | แบบฟอร์มเส้นเชื่อมแบบโค้ง 4 สอดคล้องกับ ECMA-376 ST_ShapeType 'curvedConnector4' |
CURVED_CONNECTOR_5 | Enum | แบบฟอร์มเส้นเชื่อมแบบโค้ง 5 สอดคล้องกับ ECMA-376 ST_ShapeType 'curvedConnector5' |
STRAIGHT_LINE | Enum | เส้นตรง สอดคล้องกับ ST_ShapeType 'line' ของ ECMA-376 เส้นประเภทนี้ไม่ใช่ตัวเชื่อมต่อ |
เนื้อหาของหน้าเว็บนี้ได้รับอนุญาตภายใต้ใบอนุญาตที่ต้องระบุที่มาของครีเอทีฟคอมมอนส์ 4.0 และตัวอย่างโค้ดได้รับอนุญาตภายใต้ใบอนุญาต Apache 2.0 เว้นแต่จะระบุไว้เป็นอย่างอื่น โปรดดูรายละเอียดที่นโยบายเว็บไซต์ Google Developers Java เป็นเครื่องหมายการค้าจดทะเบียนของ Oracle และ/หรือบริษัทในเครือ
อัปเดตล่าสุด 2025-08-04 UTC
[null,null,["อัปเดตล่าสุด 2025-08-04 UTC"],[[["\u003cp\u003e\u003ccode\u003eLineType\u003c/code\u003e defines the type of line used in Google Slides, derived from the ECMA-376 standard for Office Open XML file formats.\u003c/p\u003e\n"],["\u003cp\u003eYou can use various line types, including straight, bent, and curved connectors, as well as a straight line (non-connector).\u003c/p\u003e\n"],["\u003cp\u003eTo specify a line type within your code, utilize the syntax \u003ccode\u003eSlidesApp.LineType.[property]\u003c/code\u003e, such as \u003ccode\u003eSlidesApp.LineType.STRAIGHT_CONNECTOR_1\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eEach \u003ccode\u003eLineType\u003c/code\u003e property corresponds to a specific shape type as defined in the ECMA-376 standard.\u003c/p\u003e\n"]]],["Line types, derived from ECMA-376's \"ST_ShapeType,\" define various line forms. These include `UNSUPPORTED`, `STRAIGHT_CONNECTOR_1`, and several `BENT_CONNECTOR` and `CURVED_CONNECTOR` types (2-5). `STRAIGHT_LINE`, is also included. Each type corresponds to a specific ECMA-376 value. To use a specific enum value, reference it through `SlidesApp.LineType`, for example, `SlidesApp.LineType.STRAIGHT_CONNECTOR_1`.\n"],null,["# Enum LineType\n\nLineType\n\nThe line types.\n\nDerived from a subset of the values of the \"ST_ShapeType\" simple type in section 20.1.10.55 of\n\"Office Open XML File Formats - Fundamentals and Markup Language Reference\", part 1 of [ECMA-376 5th\nedition](https://ecma-international.org/publications-and-standards/standards/ecma-376/).\n\nTo call an enum, you call its parent class, name, and property. For example, `\nSlidesApp.LineType.STRAIGHT_CONNECTOR_1`. \n\n### Properties\n\n| Property | Type | Description |\n|------------------------|--------|------------------------------------------------------------------------------------------------|\n| `UNSUPPORTED` | `Enum` | A line type that is not supported. |\n| `STRAIGHT_CONNECTOR_1` | `Enum` | Straight connector 1 form. Corresponds to ECMA-376 ST_ShapeType 'straightConnector1'. |\n| `BENT_CONNECTOR_2` | `Enum` | Bent connector 2 form. Corresponds to ECMA-376 ST_ShapeType 'bentConnector2'. |\n| `BENT_CONNECTOR_3` | `Enum` | Bent connector 3 form. Corresponds to ECMA-376 ST_ShapeType 'bentConnector3'. |\n| `BENT_CONNECTOR_4` | `Enum` | Bent connector 4 form. Corresponds to ECMA-376 ST_ShapeType 'bentConnector4'. |\n| `BENT_CONNECTOR_5` | `Enum` | Bent connector 5 form. Corresponds to ECMA-376 ST_ShapeType 'bentConnector5'. |\n| `CURVED_CONNECTOR_2` | `Enum` | Curved connector 2 form. Corresponds to ECMA-376 ST_ShapeType 'curvedConnector2'. |\n| `CURVED_CONNECTOR_3` | `Enum` | Curved connector 3 form. Corresponds to ECMA-376 ST_ShapeType 'curvedConnector3'. |\n| `CURVED_CONNECTOR_4` | `Enum` | Curved connector 4 form. Corresponds to ECMA-376 ST_ShapeType 'curvedConnector4'. |\n| `CURVED_CONNECTOR_5` | `Enum` | Curved connector 5 form. Corresponds to ECMA-376 ST_ShapeType 'curvedConnector5'. |\n| `STRAIGHT_LINE` | `Enum` | Straight line. Corresponds to ECMA-376 ST_ShapeType 'line'. This line type is not a connector. |"]]