ApiColor
Represents the ApiColor class.
Methods
| Method | Returns | Description |
|---|---|---|
| FromJSON | ApiColor | null | Converts the JSON object into the ApiColor object. |
| GetClassType | "color" | Returns a type of the ApiColor class. |
| GetHex | string | Gets the HEX string representation of the color. |
| GetRGB | Object | Gets the RGB components of the color. |
| GetRGBA | Object | Gets the RGBA components of the color. |
| GetThemeName | SchemeColorId | null | Gets the theme color name if the color is a theme color. |
| IsAutoColor | boolean | Returns true if the color is set to auto. |
| IsThemeColor | boolean | Returns true if the color is a theme color. |
| ToJSON | string | Converts the ApiColor object into the JSON object. |