Create a Java color model for this colorspace.
Parameters: bpc - The number of bits per component. A color model that can be used for Java AWT operations. throws: IOException - If there is an error creating the color model.
Create a Java colorspace for this colorspace.
A color space that can be used for Java AWT operations. throws: IOException - If there is an error creating the color space.
This will return a list of alternate color spaces(PDColorSpace) if the display application
does not support this icc stream.
A list of alternate color spaces. throws: IOException - If there is an error getting the alternate color spaces.
This will return the number of color components. As of PDF 1.4 this will
be 1,3,4.
The number of components in this color space. throws: IOException - If there is an error getting the number of color components.
This will get the range for a certain component number. This is will never
return null. If it is not present then the range -100 to 100 will
be returned.
Parameters: n - The component number to get the range for. The range for this component.
setAlternateColorSpaces
public void setAlternateColorSpaces(List list)(Code)
This will set the list of alternate color spaces. This should be a list
of PDColorSpace objects.
Parameters: list - The list of colorspace objects.
This will set the number of color components.
Parameters: n - The number of color components.
setRangeForComponent
public void setRangeForComponent(PDRange range, int n)(Code)
This will set the a range for this color space.
Parameters: range - The new range for the a component. Parameters: n - The component to set the range for.
Methods inherited from org.pdfbox.pdmodel.graphics.color.PDColorSpace