Enum FillType
Sử dụng bộ sưu tập để sắp xếp ngăn nắp các trang
Lưu và phân loại nội dung dựa trên lựa chọn ưu tiên của bạn.
FillType
Các loại nội dung lấp đầy.
Để gọi một enum, bạn gọi lớp mẹ, tên và thuộc tính của enum đó. Ví dụ:
SlidesApp.FillType.SOLID
.
Thuộc tính
Thuộc tính | Loại | Mô tả |
UNSUPPORTED | Enum | Loại màu tô không được hỗ trợ. |
NONE | Enum | Không có màu nền, vì vậy nền sẽ trong suốt. |
SOLID | Enum | Tô màu đồng nhất. |
Trừ phi có lưu ý khác, nội dung của trang này được cấp phép theo Giấy phép ghi nhận tác giả 4.0 của Creative Commons và các mẫu mã lập trình được cấp phép theo Giấy phép Apache 2.0. Để biết thông tin chi tiết, vui lòng tham khảo Chính sách trang web của Google Developers. Java là nhãn hiệu đã đăng ký của Oracle và/hoặc các đơn vị liên kết với Oracle.
Cập nhật lần gần đây nhất: 2025-07-26 UTC.
[null,null,["Cập nhật lần gần đây nhất: 2025-07-26 UTC."],[[["\u003cp\u003e\u003ccode\u003eFillType\u003c/code\u003e in Google Slides API refers to the different ways an object can be filled, such as with a solid color or no fill at all.\u003c/p\u003e\n"],["\u003cp\u003eYou can access specific fill types using the syntax \u003ccode\u003eSlidesApp.FillType.[property]\u003c/code\u003e, for example, \u003ccode\u003eSlidesApp.FillType.SOLID\u003c/code\u003e represents a solid fill.\u003c/p\u003e\n"],["\u003cp\u003eThere are three main fill types: \u003ccode\u003eUNSUPPORTED\u003c/code\u003e, \u003ccode\u003eNONE\u003c/code\u003e (transparent background), and \u003ccode\u003eSOLID\u003c/code\u003e.\u003c/p\u003e\n"]]],["The `FillType` enum defines the types of fills available, accessible via `SlidesApp.FillType.PROPERTY_NAME`. It includes three properties: `UNSUPPORTED` for unsupported fills, `NONE` for transparent backgrounds, and `SOLID` for solid color fills. Each property is of the `Enum` type. Calling an Enum requires calling it's parent class.\n"],null,["# Enum FillType\n\nFillType\n\nThe kinds of fill.\n\nTo call an enum, you call its parent class, name, and property. For example, `\nSlidesApp.FillType.SOLID`. \n\n### Properties\n\n| Property | Type | Description |\n|---------------|--------|--------------------------------------------|\n| `UNSUPPORTED` | `Enum` | A fill type that is not supported. |\n| `NONE` | `Enum` | No fill, so the background is transparent. |\n| `SOLID` | `Enum` | A solid color fill. |"]]