Package com.datalogics.PDFL
Class ColorSpace
java.lang.Object
com.datalogics.PDFL.ColorSpace
- Direct Known Subclasses:
CalGrayColorSpace,CalRGBColorSpace,DeviceNColorSpace,ICCBasedColorSpace,IndexedColorSpace,LabColorSpace,NamedColorSpace,SeparationColorSpace
Base class for all color spaces.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final ColorSpacestatic final ColorSpacestatic final ColorSpacestatic final ColorSpacestatic final ColorSpacestatic final ColorSpace -
Method Summary
-
Field Details
-
DEVICE_RGB
-
DEVICE_RGBA
-
DEVICE_GRAY
-
DEVICE_CMYK
-
LAB
-
LAB_A
-
-
Method Details
-
delete
public void delete() -
equals
-
toString
Convert a colorSpace to a string. -
getNumComponents
public int getNumComponents()The number of components in the color space. -
getName
The name of the color space. A named color space may be named something like DeviceRGB. More complicated color spaces may have a name like Indexed or ICCBased. -
getPDFObject
Get the PDFObject associated with the color space. This may be a PDFName, PDFDict, PDFStream, or PDFArray.- Returns:
- The PDFObject associated with the color space.
-