Home » pdfbox-1.1.0-src » org.apache.pdfbox.pdmodel.graphics.color » [javadoc | source]
org.apache.pdfbox.pdmodel.graphics.color
public class: PDTristimulus [javadoc | source]
java.lang.Object
   org.apache.pdfbox.pdmodel.graphics.color.PDTristimulus

All Implemented Interfaces:
    COSObjectable

A tristimulus, or collection of three floating point parameters used for color operations.
Constructor:
 public PDTristimulus() 
 public PDTristimulus(COSArray array) 
    Constructor from COS object.
    Parameters:
    array - The array containing the XYZ values.
 public PDTristimulus(float[] array) 
Method from org.apache.pdfbox.pdmodel.graphics.color.PDTristimulus Summary:
getCOSObject,   getX,   getY,   getZ,   setX,   setY,   setZ
Methods from java.lang.Object:
clone,   equals,   finalize,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from org.apache.pdfbox.pdmodel.graphics.color.PDTristimulus Detail:
 public COSBase getCOSObject() 
    Convert this standard java object to a COS object.
 public float getX() 
    This will get the x value of the tristimulus.
 public float getY() 
    This will get the y value of the tristimulus.
 public float getZ() 
    This will get the z value of the tristimulus.
 public  void setX(float x) 
    This will set the x value of the tristimulus.
 public  void setY(float y) 
    This will set the y value of the tristimulus.
 public  void setZ(float z) 
    This will set the z value of the tristimulus.