Enum FillType
透過集合功能整理內容
你可以依據偏好儲存及分類內容。
填充類型
填充類型。
如要呼叫列舉,請呼叫其父項類別、名稱和屬性。例如
SlidesApp.FillType.SOLID
。
屬性
屬性 | 類型 | 說明 |
UNSUPPORTED | Enum | 系統不支援的填充類型。 |
NONE | Enum | 沒有填充,因此背景是透明的。 |
SOLID | Enum | 純色填滿。 |
除非另有註明,否則本頁面中的內容是採用創用 CC 姓名標示 4.0 授權,程式碼範例則為阿帕契 2.0 授權。詳情請參閱《Google Developers 網站政策》。Java 是 Oracle 和/或其關聯企業的註冊商標。
上次更新時間:2025-07-26 (世界標準時間)。
[null,null,["上次更新時間:2025-07-26 (世界標準時間)。"],[[["\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. |"]]