ThemeColor
Contents
[
Hide
]ThemeColor class
Represents a theme color.
Constructors
| Name | Description |
|---|---|
| ThemeColor |
Properties
| Name | Type | Description |
|---|---|---|
| ColorType | int | Gets and sets the theme type. The value of the property is ThemeColorType integer constant. |
| Tint | float | Gets and sets the tint value. The tint value is stored as a double from -1.0 .. 1.0, where -1.0 means 100% darken and 1. |
ThemeColor(type, tint)
| Parameter | Type | Description |
|---|---|---|
| type | int | A ThemeColorType value. The theme type. |
| tint | float | The tint value. |
ThemeColor.ColorType property
Gets and sets the theme type. The value of the property is ThemeColorType integer constant.
Type: int
ThemeColor.Tint property
Gets and sets the tint value. The tint value is stored as a double from -1.0 .. 1.0, where -1.0 means 100% darken and 1.0 means 100% lighten. Also, 0.0 means no change.
Type: float