A gamma array, or collection of three floating point parameters used for
color operations.
Method from org.apache.pdfbox.pdmodel.graphics.color.PDGamma Detail: |
public float getB() {
return ((COSNumber)values.get( 2 )).floatValue();
}
This will get the b value of the tristimulus. |
public COSArray getCOSArray() {
return values;
}
Convert this standard java object to a COS object. |
public COSBase getCOSObject() {
return values;
}
Convert this standard java object to a COS object. |
public float getG() {
return ((COSNumber)values.get( 1 )).floatValue();
}
This will get the g value of the tristimulus. |
public float getR() {
return ((COSNumber)values.get( 0 )).floatValue();
}
This will get the r value of the tristimulus. |
public void setB(float b) {
values.set( 2, new COSFloat( b ) );
}
This will set the b value of the tristimulus. |
public void setG(float g) {
values.set( 1, new COSFloat( g ) );
}
This will set the g value of the tristimulus. |
public void setR(float r) {
values.set( 0, new COSFloat( r ) );
}
This will set the r value of the tristimulus. |