Farba
Prehľad
Color je trieda v Aspose.Cells FOSS pre Javu.
Predstavuje hodnotu farby ARGB.
Vlastnosti
| Názov | Typ | Prístup | Popis |
|---|---|---|---|
a | byte | Čítať | Vráti a. |
r | byte | Čítať | Vráti r. |
g | byte | Čítať | Vráti g. |
b | byte | Čítať | Vráti b. |
empty | Color | Čítať | Vráti prázdnu (priehľadnú čiernu) farbu. |
Metódy
| Signature | Description |
|---|---|
Color(a: byte, r: byte, g: byte, b: byte) | Inicializuje novú inštanciu Color. |
getA() → byte | Vráti a. |
getR() → byte | Vráti r. |
getG() → byte | Vráti g. |
getB() → byte | Vráti b. |
getEmpty() → Color | Vráti prázdnu (priehľadnú čiernu) farbu. |
fromArgb(a: int, r: int, g: int, b: int) → Color | Spracuje z argb. |
equals(obj: Object) → boolean | Porovná túto inštanciu s poskytnutou hodnotou. |
hashCode() → int | Indikuje, či táto inštancia má h kód. |