Enum ColorType
ColorType
The types of Colors
To call an enum, you call its parent class, name, and property. For example,
Base.ColorType.RGB
.
Properties
Property | Type | Description |
UNSUPPORTED | Enum | A color type that is not supported. |
RGB | Enum | A color defined by red, green, blue color channels. |
THEME | Enum | A color that refers to an entry in the theme's color scheme. |
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-12-02 UTC.
[null,null,["Last updated 2024-12-02 UTC."],[[["`ColorType` is used to define different types of colors within the system."],["Colors can be represented by `RGB` values or as `THEME` entries, referencing the application's color scheme."],["`UNSUPPORTED` is an enum value indicating an unsupported color type."],["To use a `ColorType`, refer to it using the full path: `Base.ColorType.RGB`."]]],[]]