Color
Overview
Color is a class in Aspose.Cells FOSS for Java.
Represents an ARGB color value.
Properties
| Name | Type | Access | Description |
|---|---|---|---|
a | byte | Read | Returns the a. |
r | byte | Read | Returns the r. |
g | byte | Read | Returns the g. |
b | byte | Read | Returns the b. |
empty | Color | Read | Returns the empty (transparent black) color. |
Methods
| Signature | Description |
|---|---|
Color(a: byte, r: byte, g: byte, b: byte) | Initializes a new Color instance. |
getA() → byte | Returns the a. |
getR() → byte | Returns the r. |
getG() → byte | Returns the g. |
getB() → byte | Returns the b. |
getEmpty() → Color | Returns the empty (transparent black) color. |
fromArgb(a: int, r: int, g: int, b: int) → Color | Processes from argb. |
equals(obj: Object) → boolean | Compares this instance with the provided value. |
hashCode() → int | Indicates whether this instance has h code. |