ColorValue
Overview
ColorValue is a struct in Aspose.Cells FOSS for .NET.
Inherits from: IEquatable<ColorValue>.
Represents color value.
Properties
| Name | Type | Access | Description |
|---|---|---|---|
A | byte | Read | Gets the alpha component (0 = transparent, 255 = opaque). |
R | byte | Read | Gets the red component. |
G | byte | Read | Gets the green component. |
B | byte | Read | Gets the blue component. |
ThemeIndex | int? | Read | Gets the theme color index, or null if not a theme color. |
Tint | double? | Read | Gets the tint/shade modifier applied to a theme color. |
Indexed | int? | Read | Gets the indexed color value, or null if not an indexed color. |
Methods
| Signature | Description |
|---|---|
ColorValue(a: byte, r: byte, g: byte, b: byte) | Creates a theme color using a theme index and optional tint |
ColorValue(themeIndex: int, tint: double?) | |
ColorValue(indexed: int) | |
Equals(other: ColorValue) | Determines whether the given object is equal to this ColorValue |
Equals(obj: object) | |
GetHashCode() | Returns a hash code for this ColorValue |