ColorSpaceMatrix Class
A color space transformation matrix defined by three XYZ coordinate vectors.
Declaration
public class ColorSpaceMatrix extends JavaObject implements ICloneable
Remarks
The ColorSpaceMatrix specifies the chromatic adaptation or transformation parameters used by a color space.
Implements
Inherited Members
Inheritance
Constructors
ColorSpaceMatrix() Constructor
Initializes a new instance of the ColorSpaceMatrix class.
Declaration
public ColorSpaceMatrix()
ColorSpaceMatrix(double xa, double ya, double za, double xb, double yb, double zb, double xc, double yc, double zc) Constructor
Initializes a new instance of the ColorSpaceMatrix class with specified matrix values.
Declaration
public ColorSpaceMatrix(double xa, double ya, double za, double xb, double yb, double zb, double xc, double yc, double zc)
Parameters
| Name | Type | Description |
|---|---|---|
| xa | double | The X-coordinate of the first matrix vector. |
| ya | double | The Y-coordinate of the first matrix vector. |
| za | double | The Z-coordinate of the first matrix vector. |
| xb | double | The X-coordinate of the second matrix vector. |
| yb | double | The Y-coordinate of the second matrix vector. |
| zb | double | The Z-coordinate of the second matrix vector. |
| xc | double | The X-coordinate of the third matrix vector. |
| yc | double | The Y-coordinate of the third matrix vector. |
| zc | double | The Z-coordinate of the third matrix vector. |
Methods
deepClone() Method
Creates a deep copy of the current object.
Declaration
public ColorSpaceMatrix deepClone()
Returns
| Type | Description |
|---|---|
ColorSpaceMatrix |
A deep copy of the current object. |
getXa() Method
Returns the X-coordinate of the first matrix vector.
Declaration
public double getXa()
Returns
| Type | Description |
|---|---|
| double | The X-coordinate of the first matrix vector. |
getXb() Method
Returns the X-coordinate of the second matrix vector.
Declaration
public double getXb()
Returns
| Type | Description |
|---|---|
| double | The X-coordinate of the second matrix vector. |
getXc() Method
Returns the X-coordinate of the third matrix vector.
Declaration
public double getXc()
Returns
| Type | Description |
|---|---|
| double | The X-coordinate of the third matrix vector. |
getYa() Method
Returns the Y-coordinate of the first matrix vector.
Declaration
public double getYa()
Returns
| Type | Description |
|---|---|
| double | The Y-coordinate of the first matrix vector. |
getYb() Method
Returns the Y-coordinate of the second matrix vector.
Declaration
public double getYb()
Returns
| Type | Description |
|---|---|
| double | The Y-coordinate of the second matrix vector. |
getYc() Method
Returns the Y-coordinate of the third matrix vector.
Declaration
public double getYc()
Returns
| Type | Description |
|---|---|
| double | The Y-coordinate of the third matrix vector. |
getZa() Method
Returns the Z-coordinate of the first matrix vector.
Declaration
public double getZa()
Returns
| Type | Description |
|---|---|
| double | The Z-coordinate of the first matrix vector. |
getZb() Method
Returns the Z-coordinate of the second matrix vector.
Declaration
public double getZb()
Returns
| Type | Description |
|---|---|
| double | The Z-coordinate of the second matrix vector. |
getZc() Method
Returns the Z-coordinate of the third matrix vector.
Declaration
public double getZc()
Returns
| Type | Description |
|---|---|
| double | The Z-coordinate of the third matrix vector. |
objectClone() Method
Creates a copy of the current object.
Declaration
public Object objectClone()
Returns
| Type | Description |
|---|---|
| Object | A copy of the current object. |
setXa(double value) Method
Sets the X-coordinate of the first matrix vector.
Declaration
public void setXa(double value)
Parameters
| Name | Type | Description |
|---|---|---|
| value | double | The X-coordinate of the first matrix vector. |
setXb(double value) Method
Sets the X-coordinate of the second matrix vector.
Declaration
public void setXb(double value)
Parameters
| Name | Type | Description |
|---|---|---|
| value | double | The X-coordinate of the second matrix vector. |
setXc(double value) Method
Sets the X-coordinate of the third matrix vector.
Declaration
public void setXc(double value)
Parameters
| Name | Type | Description |
|---|---|---|
| value | double | The X-coordinate of the third matrix vector. |
setYa(double value) Method
Sets the Y-coordinate of the first matrix vector.
Declaration
public void setYa(double value)
Parameters
| Name | Type | Description |
|---|---|---|
| value | double | The Y-coordinate of the first matrix vector. |
setYb(double value) Method
Sets the Y-coordinate of the second matrix vector.
Declaration
public void setYb(double value)
Parameters
| Name | Type | Description |
|---|---|---|
| value | double | The Y-coordinate of the second matrix vector. |
setYc(double value) Method
Sets the Y-coordinate of the third matrix vector.
Declaration
public void setYc(double value)
Parameters
| Name | Type | Description |
|---|---|---|
| value | double | The Y-coordinate of the third matrix vector. |
setZa(double value) Method
Sets the Z-coordinate of the first matrix vector.
Declaration
public void setZa(double value)
Parameters
| Name | Type | Description |
|---|---|---|
| value | double | The Z-coordinate of the first matrix vector. |
setZb(double value) Method
Sets the Z-coordinate of the second matrix vector.
Declaration
public void setZb(double value)
Parameters
| Name | Type | Description |
|---|---|---|
| value | double | The Z-coordinate of the second matrix vector. |
setZc(double value) Method
Sets the Z-coordinate of the third matrix vector.
Declaration
public void setZc(double value)
Parameters
| Name | Type | Description |
|---|---|---|
| value | double | The Z-coordinate of the third matrix vector. |