public final class PDGamma extends Object implements COSObjectable
Constructor and Description |
---|
PDGamma()
Creates a new gamma.
|
PDGamma(COSArray array)
Creates a new gamma from a COS array.
|
Modifier and Type | Method and Description |
---|---|
float |
getB()
Returns the b value of the tristimulus.
|
COSArray |
getCOSArray()
Convert this standard java object to a COS object.
|
COSBase |
getCOSObject()
Convert this standard java object to a COS object.
|
float |
getG()
Returns the g value of the tristimulus.
|
float |
getR()
Returns the r value of the tristimulus.
|
void |
setB(float b)
Sets the b value of the tristimulus.
|
void |
setG(float g)
Sets the g value of the tristimulus.
|
void |
setR(float r)
Sets the r value of the tristimulus.
|
public PDGamma()
public PDGamma(COSArray array)
array
- the array containing the XYZ valuespublic COSBase getCOSObject()
getCOSObject
in interface COSObjectable
public COSArray getCOSArray()
public float getR()
public void setR(float r)
r
- the r value for the tristimuluspublic float getG()
public void setG(float g)
g
- the g value for the tristimuluspublic float getB()
public void setB(float b)
b
- he b value for the tristimulusCopyright © 2002–2015 The Apache Software Foundation. All rights reserved.