Color
Visió general
Color és una classe a Aspose.Cells FOSS per a Java.
Representa un valor de color ARGB.
Propietats
| Nom | Tipus | Accés | Descripció |
|---|---|---|---|
a | byte | Lectura | Retorna l’a. |
r | byte | Lectura | Retorna l’r. |
g | byte | Lectura | Retorna el g. |
b | byte | Lectura | Retorna el b. |
empty | Color | Lectura | Retorna el color buit (negre transparent). |
Mètodes
| Signatura | Descripció |
|---|---|
Color(a: byte, r: byte, g: byte, b: byte) | Inicialitza una nova instància de Color. |
getA() → byte | Retorna el a. |
getR() → byte | Retorna el r. |
getG() → byte | Retorna el g. |
getB() → byte | Retorna el b. |
getEmpty() → Color | Retorna el color buit (negre transparent). |
fromArgb(a: int, r: int, g: int, b: int) → Color | Processa des d’argb. |
equals(obj: Object) → boolean | Compara aquesta instància amb el valor proporcionat. |
hashCode() → int | Indica si aquesta instància té codi h. |