A tristimulus, or collection of three floating point parameters used for
color operations.
Method from org.apache.pdfbox.pdmodel.graphics.color.PDTristimulus Detail: |
public COSBase getCOSObject() {
return values;
}
Convert this standard java object to a COS object. |
public float getX() {
return ((COSNumber)values.get( 0 )).floatValue();
}
This will get the x value of the tristimulus. |
public float getY() {
return ((COSNumber)values.get( 1 )).floatValue();
}
This will get the y value of the tristimulus. |
public float getZ() {
return ((COSNumber)values.get( 2 )).floatValue();
}
This will get the z value of the tristimulus. |
public void setX(float x) {
values.set( 0, new COSFloat( x ) );
}
This will set the x value of the tristimulus. |
public void setY(float y) {
values.set( 1, new COSFloat( y ) );
}
This will set the y value of the tristimulus. |
public void setZ(float z) {
values.set( 2, new COSFloat( z ) );
}
This will set the z value of the tristimulus. |