Color

Overview

Color is a class in Aspose.Cells FOSS for Java.

Represents an ARGB color value.

Properties

NameTypeAccessDescription
abyteReadReturns the a.
rbyteReadReturns the r.
gbyteReadReturns the g.
bbyteReadReturns the b.
emptyColorReadReturns the empty (transparent black) color.

Methods

SignatureDescription
Color(a: byte, r: byte, g: byte, b: byte)Initializes a new Color instance.
getA()byteReturns the a.
getR()byteReturns the r.
getG()byteReturns the g.
getB()byteReturns the b.
getEmpty()ColorReturns the empty (transparent black) color.
fromArgb(a: int, r: int, g: int, b: int)ColorProcesses from argb.
equals(obj: Object)booleanCompares this instance with the provided value.
hashCode()intIndicates whether this instance has h code.