ColorValue

Overview

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

Represents a color value with alpha, red, green, and blue components.

This class provides 7 methods for working with ColorValue objects in Java programs. Available methods include: ColorValue, equals, getA, getB, getG, getR, hashCode. All exported members are accessible to any Java application after installing the Aspose.Cells FOSS for Java package. Properties: a, b, g, r.

Description

ColorValue is a class in the Aspose.Cells FOSS library for Java that exposes 6 methods and 4 properties for programmatic use.

Core capabilities include: byte; byte; byte. These operations enable developers to integrate colorvalue functionality directly into Java applications.

The class also provides the a property (returns the a), the r property (returns the r), the g property (returns the g).

Instances are created through a single constructor that initializes the object with default values.

Properties

NameTypeAccessDescription
abyteReadReturns the a.
rbyteReadReturns the r.
gbyteReadReturns the g.
bbyteReadReturns the b.

Methods

SignatureDescription
ColorValue(a: byte, r: byte, g: byte, b: byte)Initializes a new ColorValue instance.
getA()byteReturns the a.
getR()byteReturns the r.
getG()byteReturns the g.
getB()byteReturns the b.
equals(obj: Object)booleanCompares this instance with the provided value.
hashCode()intIndicates whether this instance has h code.

See Also

 English