Enum ColorType
使用集合让一切井井有条
根据您的偏好保存内容并对其进行分类。
颜色类型
颜色类型
如需调用枚举,您可以调用其父类、名称和属性。例如
Base.ColorType.RGB
。
属性
属性 | 类型 | 说明 |
UNSUPPORTED | Enum | 不受支持的颜色类型。 |
RGB | Enum | 由红色、绿色和蓝色通道定义的颜色。 |
THEME | Enum | 一种颜色,用于引用主题配色方案中的条目。 |
如未另行说明,那么本页面中的内容已根据知识共享署名 4.0 许可获得了许可,并且代码示例已根据 Apache 2.0 许可获得了许可。有关详情,请参阅 Google 开发者网站政策。Java 是 Oracle 和/或其关联公司的注册商标。
最后更新时间 (UTC):2025-07-26。
[null,null,["最后更新时间 (UTC):2025-07-26。"],[[["\u003cp\u003e\u003ccode\u003eColorType\u003c/code\u003e is used to define different types of colors within the system.\u003c/p\u003e\n"],["\u003cp\u003eColors can be represented by \u003ccode\u003eRGB\u003c/code\u003e values or as \u003ccode\u003eTHEME\u003c/code\u003e entries, referencing the application's color scheme.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eUNSUPPORTED\u003c/code\u003e is an enum value indicating an unsupported color type.\u003c/p\u003e\n"],["\u003cp\u003eTo use a \u003ccode\u003eColorType\u003c/code\u003e, refer to it using the full path: \u003ccode\u003eBase.ColorType.RGB\u003c/code\u003e.\u003c/p\u003e\n"]]],[],null,["# Enum ColorType\n\nColorType\n\nThe types of Colors\n\nTo call an enum, you call its parent class, name, and property. For example, `\nBase.ColorType.RGB`. \n\n### Properties\n\n| Property | Type | Description |\n|---------------|--------|--------------------------------------------------------------|\n| `UNSUPPORTED` | `Enum` | A color type that is not supported. |\n| `RGB` | `Enum` | A color defined by red, green, blue color channels. |\n| `THEME` | `Enum` | A color that refers to an entry in the theme's color scheme. |"]]