Color Struct |
Docentric Toolkit Help
Send Feedback |
The Color class represents an ARGB color value.
System.Object
System.ValueType
Docentric.Documents.ObjectModel.Color
Assembly: Docentric.Documents.ObjectModel (in Docentric.Documents.ObjectModel.dll)
public struct Color
The Color type exposes the following members.
Name | Description | |
---|---|---|
A | Gets the alpha (transparency) part of the RGB Color. The values is in the range between 0 to 255. | |
B | Gets the blue part of the Color. The values is in the range between 0 to 255. | |
G | Gets the green part of the Color. The values is in the range between 0 to 255. | |
IsEmpty | Specifies whether this Color structure is uninitialized. | |
R | Gets the red part of the Color. The values is in the range between 0 to 255. |
Name | Description | |
---|---|---|
Equals(Object) | Determines whether the specified Object is equal to this Color instance. (Overrides Color.Equals) | |
Equals | Indicates whether this instance and a specified object are equal. (Inherited from ValueType) | |
FromArgb(Byte, Byte, Byte) | Creates a Color structure from the specified 8-bit color values (red, green, and blue). The alpha value is implicitly 255 (fully opaque). Although this method allows a 32-bit value to be passed for each color component, the value of each component is limited to 8 bits. | |
FromArgb(Byte, Byte, Byte, Byte) | Creates a Color structure from the four ARGB component (alpha, red, green, and blue) values. | |
FromArgb(Byte, Color) | Creates a Color structure from the base color and the alpha value. | |
FromHex | Creates a Color structure from the specified hex color string. | |
GetHashCode() | Gets the ARGB value that this Color instance represents. (Overrides Color.GetHashCode) | |
GetHashCode | Returns the hash code for this instance. (Inherited from ValueType) | |
GetType | Gets the Type of the current instance. (Inherited from Object) | |
ToArgb | Returns the ARGB value for this color structure. | |
ToString() | Writes the Color object in its hexadecimal value. (Overrides Color.ToString) | |
ToString | Returns the fully qualified type name of this instance. (Inherited from ValueType) | |
TryGetFromName |