Color Methods | |
The Color type exposes the following members.
| Name | Description | |
|---|---|---|
| Equals(Color) | Indicates whether this color and the specified Color have the same ARGB value. | |
| Equals(Object) | Indicates whether this color and the specified object have the same value. (Overrides ValueTypeEquals(Object)) | |
| FromArgb(Int32) | Constructs a color from a raw 32-bit ARGB value (layout: AARRGGBB). | |
| FromArgb(Int32, Color) | Constructs a color by replacing the alpha component of an existing color. | |
| FromArgb(Int32, Int32, Int32) | Constructs a fully-opaque color from the given red/green/blue components. | |
| FromArgb(Int32, Int32, Int32, Int32) | Constructs a color with the given alpha/red/green/blue components. Each value is clamped to 0–255. | |
| GetHashCode | Returns the hash code for this color. (Overrides ValueTypeGetHashCode) | |
| ToArgb | Gets the raw 32-bit ARGB value (layout: AARRGGBB). | |
| ToString | Returns a string representation of this Color (its A, R, G and B components). (Overrides ValueTypeToString) |