public final 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()
Returns the x value of the tristimulus.
|
float |
getY()
Returns the y value of the tristimulus.
|
float |
getZ()
Returns the z value of the tristimulus.
|
void |
setX(float x)
Sets the x value of the tristimulus.
|
void |
setY(float y)
Sets the y value of the tristimulus.
|
void |
setZ(float z)
Sets the z value of the tristimulus.
|
public PDTristimulus()
public PDTristimulus(COSArray array)
array
- the array containing the XYZ valuespublic PDTristimulus(float[] array)
array
- the array containing the XYZ valuespublic COSBase getCOSObject()
getCOSObject
in interface COSObjectable
public float getX()
public void setX(float x)
x
- the x value for the tristimuluspublic float getY()
public void setY(float y)
y
- the y value for the tristimuluspublic float getZ()
public void setZ(float z)
z
- the z value for the tristimulusCopyright © 2002–2023 The Apache Software Foundation. All rights reserved.