CieCoordinates

Inheritance: java.lang.Object

public class CieCoordinates

The class contains the x,y, and z coordinates of a specific color in a specified color space.

Constructors

ConstructorDescription
CieCoordinates(byte[] bytes)Initializes a new instance of the CieCoordinates class.
CieCoordinates(byte[] bytes, int offset)Initializes a new instance of the CieCoordinates class from a byte array.

Methods

MethodDescription
getCieCoordinatesX()Gets or sets the coordinates x.
setCieCoordinatesX(long value)Gets or sets the coordinates x.
getCieCoordinatesY()Gets or sets the coordinates y.
setCieCoordinatesY(long value)Gets or sets the coordinates y.
getCieCoordinatesZ()Gets or sets the coordinates z.
setCieCoordinatesZ(long value)Gets or sets the coordinates z.

CieCoordinates(byte[] bytes)

public CieCoordinates(byte[] bytes)

Initializes a new instance of the CieCoordinates class.

Parameters:

ParameterTypeDescription
bytesbyte[]The byte array containing the serialized CIE coordinates data.

CieCoordinates(byte[] bytes, int offset)

public CieCoordinates(byte[] bytes, int offset)

Initializes a new instance of the CieCoordinates class from a byte array.

Parameters:

ParameterTypeDescription
bytesbyte[]The byte array containing the serialized CIE coordinates data.
offsetintThe zero-based byte offset in bytes at which to begin reading the coordinates. The coordinates are expected to be stored as three consecutive 32-bit unsigned integers (x, y, z) in big-endian order, each representing a fixed-point (2.30) value.

getCieCoordinatesX()

public long getCieCoordinatesX()

Gets or sets the coordinates x.

Value: The coordinates x.

Returns: long

setCieCoordinatesX(long value)

public void setCieCoordinatesX(long value)

Gets or sets the coordinates x.

Value: The coordinates x.

Parameters:

ParameterTypeDescription
valuelong

getCieCoordinatesY()

public long getCieCoordinatesY()

Gets or sets the coordinates y.

Value: The coordinates y.

Returns: long

setCieCoordinatesY(long value)

public void setCieCoordinatesY(long value)

Gets or sets the coordinates y.

Value: The coordinates y.

Parameters:

ParameterTypeDescription
valuelong

getCieCoordinatesZ()

public long getCieCoordinatesZ()

Gets or sets the coordinates z.

Value: The coordinates z.

Returns: long

setCieCoordinatesZ(long value)

public void setCieCoordinatesZ(long value)

Gets or sets the coordinates z.

Value: The coordinates z.

Parameters:

ParameterTypeDescription
valuelong