ColorRGBA Structure |
Namespace: Rhino.Display
The ColorRGBA type exposes the following members.
Name | Description | |
---|---|---|
ColorRGBA(Color) |
Constructs a new instance of ColorRGBA that is equivalent to an ARGB color.
| |
ColorRGBA(ColorRGBA) | Initializes a new instance of the ColorRGBA class | |
ColorRGBA(Int32) |
Constructs a new instance of ColorRGBA that is equivalent to an ARGB color.
| |
ColorRGBA(ColorRGBA, Double) | Initializes a new instance of the ColorRGBA class | |
ColorRGBA(Double, Double, Double) | Initializes a new instance of the ColorRGBA class | |
ColorRGBA(Double, Double, Double, Double) | Initializes a new instance of the ColorRGBA class |
Name | Description | |
---|---|---|
A |
Gets or sets the alpha channel value.
Alpha channels are limited to a 0~1 range.
| |
B |
Gets or sets the blue channel value.
Blue channels are limited to a 0~1 range.
| |
Black | ||
Blue | ||
G |
Gets or sets the green channel value.
Green channels are limited to a 0~1 range.
| |
Green | ||
R |
Gets or sets the red channel value.
Red channels are limited to a 0~1 range.
| |
Red | ||
White |
Name | Description | |
---|---|---|
ApplyGamma | ||
BlendTo | ||
CompareTo |
Compares this ColorRGBA with another ColorRGBA.
Channels evaluation priority is first A, then R, then G, then B. | |
CreateFromArgb(Byte, Byte, Byte) |
Constructs a RGBA color from the specified 8-bit components (red, green, and blue) values.
The alpha value is implicitly 1.0 (fully opaque).
| |
CreateFromArgb(Byte, Byte, Byte, Byte) |
Constructs a RGBA color from the four ARGB components (alpha, red, green, and blue) values.
| |
CreateFromCMYK |
Create the nearest RGBA equivalent of a CMYK color.
| |
CreateFromHSL |
Constructs the nearest RGBA equivalent of an HSV color.
| |
CreateFromHSV |
Constructs the nearest RGBA equivalent of an HSL color.
| |
CreateFromLAB |
Create the nearest RGBA equivalent of a LAB color.
| |
CreateFromLCH |
Create the nearest RGBA equivalent of a LCH color.
| |
CreateFromXYZ |
Create the nearest RGBA equivalent of an XYZ color.
| |
EpsilonEquals |
Check that all values in other are within epsilon of the values in this
| |
Equals(ColorRGBA) |
Determines whether the specified ColorRGBA has the same values as the present color.
| |
Equals(Object) | (Overrides ValueTypeEquals(Object).) | |
GetHashCode | (Overrides ValueTypeGetHashCode.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
ToArgb |
Converts this color to a 32-bit ARGB value.
| |
ToString | (Overrides ValueTypeToString.) | |
ToString(String, IFormatProvider) |
Name | Description | |
---|---|---|
Equality | ||
(ColorRGBA to Color) |
Converts a ColorRGBA in a Color.
| |
(Color to ColorRGBA) | ||
Inequality |