ColorHSB Structure |
Namespace: Eto.Drawing
The ColorHSB type exposes the following members.
Name | Description | |
---|---|---|
ColorHSB(Color) |
Initializes a new instance of the ColorHSB class with the same color values as color | |
ColorHSB(Single, Single, Single, Single) |
Initializes a new instance of the ColorHSB class
|
Name | Description | |
---|---|---|
A |
Gets or sets the alpha (0-1)
| |
B |
Gets or sets the brightness (0-1)
| |
H |
Gets or sets the hue (0-360)
| |
S |
Gets or sets the saturation (0-1)
|
Name | Description | |
---|---|---|
Distance |
Calculates the 'distance' of two HSB colors
| |
Equals(Object) |
Compares an object to determine equality with this instance
(Overrides ValueTypeEquals(Object).) | |
Equals(ColorHSB) |
Compares a ColorHSB for equality
| |
GetHashCode |
Gets the hash code for this object
(Overrides ValueTypeGetHashCode.) | |
ToColor |
Converts this instance to an equivalent RGB Color |
Name | Description | |
---|---|---|
Equality |
Compares two instances of the ColorHSB for equality
| |
(Color to ColorHSB) |
Implicitly converts from a Color to a ColorHSB
| |
(ColorHSB to Color) |
Implicitly converts from a ColorHSB to a Color | |
Inequality |
Compares two instances of the ColorHSB for inequality
|