Color
Overview
Color is a struct in Aspose.Cells for NET.
Inherits from: IEquatable<Color>.
Color.Color creates a color from ARGB byte components.
Properties
| Name | Type | Access | Description |
|---|---|---|---|
A | byte | Read | Gets the alpha component of the color |
R | byte | Read | Gets the red component of the color |
G | byte | Read | Gets the green component of the color |
B | byte | Read | Gets the blue component of the color |
Empty | Color | Read | Represents a color with all components set to zero (transparent black) |
Methods
| Signature | Description |
|---|---|
Color(a: byte, r: byte, g: byte, b: byte) | Creates a color from alpha, red, green, blue byte components |
FromArgb(a: int, r: int, g: int, b: int) | Creates a color from ARGB integer components |
Equals(other: Color) | Determines whether this color equals the specified object |
Equals(obj: object?) | |
GetHashCode() | Returns a hash code based on the ARGB components |