public class PDTristimulus extends Object implements COSObjectable
| Constructor and Description |
|---|
PDTristimulus()
Constructor.
|
PDTristimulus(COSArray array)
Constructor from COS object.
|
PDTristimulus(float[] array)
Constructor from COS object.
|
| Modifier and Type | Method and 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 COSObjectablepublic 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.Copyright © 2002–2016 The Apache Software Foundation. All rights reserved.