[]
Represents an extended color.
public class UserColor
Public Class UserColor
Name | Description |
---|---|
UserColor(SolidColor) | Initializes a new instance of the UserColor class. |
UserColor(ThemeColorId) | Initializes a new instance of the UserColor class. |
UserColor(ThemeColorId, float) | Initializes a new instance of the UserColor class. |
UserColor(ThemeColorId, float, float, float) | Initializes a new instance of the UserColor class. |
UserColor(Color) | Initializes a new instance of the UserColor class. |
Name | Description |
---|---|
Brightness | Gets the brightness of the color from -1 (darkest) to 1 (lightest), zero being neutral. |
Color | Gets the RGB value of this color. |
ThemeColor | Gets a theme color that should be applied to the object. |
TintAndShade | Gets the lightening or darkening of the color from -1 (darkest) to 1 (lightest), zero being neutral. |
Transparency | Gets the degree of transparency of the color as a value between 0 (opaque) and 1 (clear). |