Enum ThemeColorType
使用集合让一切井井有条
根据您的偏好保存内容并对其进行分类。
主题颜色类型
页面配色方案中条目的名称。
如需调用枚举,您可以调用其父类、名称和属性。例如
SlidesApp.ThemeColorType.LIGHT1
。
属性
属性 | 类型 | 说明 |
UNSUPPORTED | Enum | 表示不受支持的主题颜色。 |
DARK1 | Enum | 表示第一个深色。 |
LIGHT1 | Enum | 表示第一个浅色。 |
DARK2 | Enum | 表示第二种深色。 |
LIGHT2 | Enum | 表示第二种浅色。 |
ACCENT1 | Enum | 表示第一个强调色。 |
ACCENT2 | Enum | 表示第二种强调色。 |
ACCENT3 | Enum | 表示第三种强调色。 |
ACCENT4 | Enum | 表示第四种强调色。 |
ACCENT5 | Enum | 表示第五种强调色。 |
ACCENT6 | Enum | 表示第六种强调色。 |
HYPERLINK | Enum | 表示要为超链接使用的颜色。 |
FOLLOWED_HYPERLINK | Enum | 表示要为已访问的超链接使用的颜色。 |
如未另行说明,那么本页面中的内容已根据知识共享署名 4.0 许可获得了许可,并且代码示例已根据 Apache 2.0 许可获得了许可。有关详情,请参阅 Google 开发者网站政策。Java 是 Oracle 和/或其关联公司的注册商标。
最后更新时间 (UTC):2025-07-26。
[null,null,["最后更新时间 (UTC):2025-07-26。"],[[["\u003cp\u003e\u003ccode\u003eThemeColorType\u003c/code\u003e defines the name of an entry within a page's color scheme and is accessed using the format \u003ccode\u003eSlidesApp.ThemeColorType.property\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eIt includes various properties like \u003ccode\u003eDARK1\u003c/code\u003e, \u003ccode\u003eLIGHT1\u003c/code\u003e, \u003ccode\u003eACCENT1\u003c/code\u003e, \u003ccode\u003eHYPERLINK\u003c/code\u003e etc., representing different color options within the theme.\u003c/p\u003e\n"],["\u003cp\u003eEach property is an \u003ccode\u003eEnum\u003c/code\u003e type and has a specific purpose, such as representing the first dark color or the color for hyperlinks.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eUNSUPPORTED\u003c/code\u003e is an enum value that represents a theme color that is not supported.\u003c/p\u003e\n"]]],[],null,["# Enum ThemeColorType\n\nThemeColorType\n\nThe name of an entry in the page's color scheme.\n\nTo call an enum, you call its parent class, name, and property. For example, `\nSlidesApp.ThemeColorType.LIGHT1`. \n\n### Properties\n\n| Property | Type | Description |\n|----------------------|--------|-----------------------------------------------------|\n| `UNSUPPORTED` | `Enum` | Represents a theme color that is not supported. |\n| `DARK1` | `Enum` | Represents the first dark color. |\n| `LIGHT1` | `Enum` | Represents the first light color. |\n| `DARK2` | `Enum` | Represents the second dark color. |\n| `LIGHT2` | `Enum` | Represents the second light color. |\n| `ACCENT1` | `Enum` | Represents the first accent color. |\n| `ACCENT2` | `Enum` | Represents the second accent color. |\n| `ACCENT3` | `Enum` | Represents the third accent color. |\n| `ACCENT4` | `Enum` | Represents the fourth accent color. |\n| `ACCENT5` | `Enum` | Represents the fifth accent color. |\n| `ACCENT6` | `Enum` | Represents the sixth accent color. |\n| `HYPERLINK` | `Enum` | Represents the color to use for hyperlinks. |\n| `FOLLOWED_HYPERLINK` | `Enum` | Represents the color to use for visited hyperlinks. |"]]