COSObjectable
public class PDTristimulus extends java.lang.Object implements COSObjectable
Constructor | Description |
---|---|
PDTristimulus() |
Constructor.
|
PDTristimulus(float[] array) |
Constructor from COS object.
|
PDTristimulus(COSArray array) |
Constructor from COS object.
|
Modifier and Type | Method | Description |
---|---|---|
COSBase |
getCOSObject() |
Convert this standard java object to a COS object.
|
float |
getX() |
This will get the x value of the tristimulus.
|
float |
getY() |
This will get the y value of the tristimulus.
|
float |
getZ() |
This will get the z value of the tristimulus.
|
void |
setX(float x) |
This will set the x value of the tristimulus.
|
void |
setY(float y) |
This will set the y value of the tristimulus.
|
void |
setZ(float z) |
This will set the z value of the tristimulus.
|
public PDTristimulus()
public PDTristimulus(COSArray array)
array
- The array containing the XYZ values.public PDTristimulus(float[] array)
array
- The array containing the XYZ values.public COSBase getCOSObject()
getCOSObject
in interface COSObjectable
public float getX()
public void setX(float x)
x
- The x value for the tristimulus.public float getY()
public void setY(float y)
y
- The y value for the tristimulus.public float getZ()
public void setZ(float z)
z
- The z value for the tristimulus.