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
| Name | Type | Access | Description |
|---|---|---|---|
a | byte | Read | Returns the a. |
r | byte | Read | Returns the r. |
g | byte | Read | Returns the g. |
b | byte | Read | Returns the b. |
Methods
| Signature | Description |
|---|---|
ColorValue(a: byte, r: byte, g: byte, b: byte) | Initializes a new ColorValue instance. |
getA() → byte | Returns the a. |
getR() → byte | Returns the r. |
getG() → byte | Returns the g. |
getB() → byte | Returns the b. |
equals(obj: Object) → boolean | Compares this instance with the provided value. |
hashCode() → int | Indicates whether this instance has h code. |