Color

Visió general

Color és una classe a Aspose.Cells FOSS per a Java.

Representa un valor de color ARGB.

Propietats

NomTipusAccésDescripció
abyteLecturaRetorna l’a.
rbyteLecturaRetorna l’r.
gbyteLecturaRetorna el g.
bbyteLecturaRetorna el b.
emptyColorLecturaRetorna el color buit (negre transparent).

Mètodes

SignaturaDescripció
Color(a: byte, r: byte, g: byte, b: byte)Inicialitza una nova instància de Color.
getA()byteRetorna el a.
getR()byteRetorna el r.
getG()byteRetorna el g.
getB()byteRetorna el b.
getEmpty()ColorRetorna el color buit (negre transparent).
fromArgb(a: int, r: int, g: int, b: int)ColorProcessa des d’argb.
equals(obj: Object)booleanCompara aquesta instància amb el valor proporcionat.
hashCode()intIndica si aquesta instància té codi h.
 Català