Skip to main content

CIEColor Class

A CIE-based color defined by X, Y, and Z tristimulus values.

Declaration

public class CIEColor extends JavaObject implements ICloneable

Implements

com.devexpress.system.ICloneable

Inherited Members

com.devexpress.system.JavaObject.clone()
com.devexpress.system.JavaObject.equals(java.lang.Object)
com.devexpress.system.JavaObject.hashCode()
com.devexpress.system.JavaObject.initFields()
com.devexpress.system.JavaObject.memberwiseClone()
com.devexpress.system.JavaObject.toString()
java.lang.Object.finalize()
java.lang.Object.getClass()
java.lang.Object.notify()
java.lang.Object.notifyAll()
java.lang.Object.wait()
java.lang.Object.wait(long)
java.lang.Object.wait(long,int)

Inheritance

Object
com.devexpress.system.JavaObject
CIEColor

Constructors

CIEColor() Constructor

Initializes a new instance of the CIEColor class.

Declaration

public CIEColor()

CIEColor(double x, double y, double z) Constructor

Initializes a new instance of the CIEColor class with specified tristimulus values.

Declaration

public CIEColor(double x, double y, double z)

Parameters

Name Type Description
x double

The X tristimulus value.

y double

The Y tristimulus value.

z double

The Z tristimulus value.

Methods

deepClone() Method

Returns a deep copy of this CIEColor instance.

Declaration

public CIEColor deepClone()

Returns

Type Description
CIEColor

A deep copy of this CIEColor instance.

getX() Method

Returns the X tristimulus value.

Declaration

public double getX()

Returns

Type Description
double

The X tristimulus value.

getY() Method

Returns the Y tristimulus value.

Declaration

public double getY()

Returns

Type Description
double

The Y tristimulus value.

getZ() Method

Returns the Z tristimulus value.

Declaration

public double getZ()

Returns

Type Description
double

The Z tristimulus value.

objectClone() Method

Creates a copy of the CIE-based color object.

Declaration

public Object objectClone()

Returns

Type Description
Object

A copy of the CIE-based color object.

setX(double value) Method

Sets the X tristimulus value.

Declaration

public void setX(double value)

Parameters

Name Type Description
value double

The X tristimulus value.

setY(double value) Method

Sets the Y tristimulus value.

Declaration

public void setY(double value)

Parameters

Name Type Description
value double

The Y tristimulus value.

setZ(double value) Method

Sets the Z tristimulus value.

Declaration

public void setZ(double value)

Parameters

Name Type Description
value double

The Z tristimulus value.