|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.pdfbox.pdmodel.graphics.color.PDTristimulus
A tristimulus, or collection of three floating point parameters used for color operations.
| Constructor Summary | |
PDTristimulus()
Constructor. |
|
PDTristimulus(COSArray array)
Constructor from COS object. |
|
PDTristimulus(float[] array)
Constructor from COS object. |
|
| Method Summary | |
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. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public PDTristimulus()
public PDTristimulus(COSArray array)
array - The array containing the XYZ values.public PDTristimulus(float[] array)
array - The array containing the XYZ values.| Method Detail |
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.
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||