Colore
Panoramica
Color è una classe in Aspose.Cells FOSS per Java.
Rappresenta un valore di colore ARGB.
Proprietà
| Nome | Tipo | Accesso | Descrizione |
|---|---|---|---|
a | byte | Lettura | Restituisce il a. |
r | byte | Lettura | Restituisce il r. |
g | byte | Lettura | Restituisce il g. |
b | byte | Lettura | Restituisce il b. |
empty | Color | Lettura | Restituisce il colore vuoto (nero trasparente). |
Metodi
| Signature | Description |
|---|---|
Color(a: byte, r: byte, g: byte, b: byte) | Inizializza una nuova istanza di Color. |
getA() → byte | Restituisce a. |
getR() → byte | Restituisce r. |
getG() → byte | Restituisce g. |
getB() → byte | Restituisce b. |
getEmpty() → Color | Restituisce il colore vuoto (nero trasparente). |
fromArgb(a: int, r: int, g: int, b: int) → Color | Elabora da argb. |
equals(obj: Object) → boolean | Confronta questa istanza con il valore fornito. |
hashCode() → int | Indica se questa istanza ha il codice h. |