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

All Implemented Interfaces:
    COSObjectable

This class represents a Separation color space.
Field Summary
public static final  String NAME    The name of this color space. 
Fields inherited from org.apache.pdfbox.pdmodel.graphics.color.PDColorSpace:
array
Constructor:
 public PDSeparation() 
 public PDSeparation(COSArray separation) 
    Constructor.
    Parameters:
    separation - The array containing all separation information.
Method from org.apache.pdfbox.pdmodel.graphics.color.PDSeparation Summary:
createColorModel,   createColorSpace,   getAlternateColorSpace,   getColorValues,   getColorantName,   getName,   getNumberOfComponents,   getTintTransform,   setAlternateColorSpace,   setColorantName,   setTintTransform
Methods from org.apache.pdfbox.pdmodel.graphics.color.PDColorSpace:
createColorModel,   createColorSpace,   getCOSObject,   getJavaColorSpace,   getName,   getNumberOfComponents,   toString
Methods from java.lang.Object:
clone,   equals,   finalize,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from org.apache.pdfbox.pdmodel.graphics.color.PDSeparation Detail:
 public ColorModel createColorModel(int bpc) throws IOException 
    Create a Java color model for this colorspace.
 protected ColorSpace createColorSpace() throws IOException 
    Create a Java colorspace for this colorspace.
 public PDColorSpace getAlternateColorSpace() throws IOException 
    This will get the alternate color space for this separation.
 public COSArray getColorValues() throws IOException 
    Returns the components of the color in the alternate colorspace for a tint value of 1.0.
 public String getColorantName() 
    This will get the separation name.
 public String getName() 
    This will return the name of the color space. For a PDSeparation object this will always return "Separation"
 public int getNumberOfComponents() throws IOException 
    This will get the number of components that this color space is made up of.
 public PDFunction getTintTransform() throws IOException 
    This will get the tint transform function.
 public  void setAlternateColorSpace(PDColorSpace cs) 
    This will set the alternate color space.
 public  void setColorantName(String name) 
    This will set the separation name.
 public  void setTintTransform(PDFunction tint) 
    This will set the tint transform function.