Package com.itextpdf.text.pdf
Class ColorDetails
- java.lang.Object
-
- com.itextpdf.text.pdf.ColorDetails
-
class ColorDetails extends java.lang.ObjectEach colorSpace in the document will have an instance of this class
-
-
Field Summary
Fields Modifier and Type Field Description (package private) ICachedColorSpacecolorSpaceThe color(package private) PdfNamecolorSpaceNameThe color name that appears in the document body stream(package private) PdfIndirectReferenceindirectReferenceThe indirect reference to this color
-
Constructor Summary
Constructors Constructor Description ColorDetails(PdfName colorName, PdfIndirectReference indirectReference, ICachedColorSpace scolor)Each spot color used in a document has an instance of this class.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description (package private) PdfNamegetColorSpaceName()Gets the color name as it appears in the document body.PdfIndirectReferencegetIndirectReference()Gets the indirect reference to this color.PdfObjectgetPdfObject(PdfWriter writer)Gets theSpotColorobject.
-
-
-
Field Detail
-
indirectReference
PdfIndirectReference indirectReference
The indirect reference to this color
-
colorSpaceName
PdfName colorSpaceName
The color name that appears in the document body stream
-
colorSpace
ICachedColorSpace colorSpace
The color
-
-
Constructor Detail
-
ColorDetails
ColorDetails(PdfName colorName, PdfIndirectReference indirectReference, ICachedColorSpace scolor)
Each spot color used in a document has an instance of this class.- Parameters:
colorName- the color nameindirectReference- the indirect reference to the fontscolor- thePDfSpotColor
-
-
Method Detail
-
getIndirectReference
public PdfIndirectReference getIndirectReference()
Gets the indirect reference to this color.- Returns:
- the indirect reference to this color
-
getColorSpaceName
PdfName getColorSpaceName()
Gets the color name as it appears in the document body.- Returns:
- the color name
-
-