Enum FillType
使用集合让一切井井有条
根据您的偏好保存内容并对其进行分类。
填充类型
填充类型。
如需调用枚举,您可以调用其父类、名称和属性。例如
SlidesApp.FillType.SOLID
。
属性
属性 | 类型 | 说明 |
UNSUPPORTED | Enum | 不受支持的填充类型。 |
NONE | Enum | 无填充,因此背景是透明的。 |
SOLID | Enum | 单色填充。 |
如未另行说明,那么本页面中的内容已根据知识共享署名 4.0 许可获得了许可,并且代码示例已根据 Apache 2.0 许可获得了许可。有关详情,请参阅 Google 开发者网站政策。Java 是 Oracle 和/或其关联公司的注册商标。
最后更新时间 (UTC):2025-07-26。
[null,null,["最后更新时间 (UTC):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. |"]]