com.lowagie.text.pdf

Class ColorDetails


(package private) class ColorDetails
extends java.lang.Object

Each spotcolor in the document will have an instance of this class
Author:
Phillip Pan (phillip@formstar.com)

Field Summary

(package private) PdfName
colorName
The color name that appears in the document body stream
(package private) PdfIndirectReference
indirectReference
The indirect reference to this color
(package private) PdfSpotColor
spotcolor
The color

Constructor Summary

ColorDetails(PdfName colorName, PdfIndirectReference indirectReference, PdfSpotColor scolor)
Each spot color used in a document has an instance of this class.

Method Summary

(package private) PdfName
getColorName()
Gets the color name as it appears in the document body.
(package private) PdfIndirectReference
getIndirectReference()
Gets the indirect reference to this color.
(package private) PdfObject
getSpotColor(PdfWriter writer)
Gets the SpotColor object.

Field Details

colorName

(package private)  PdfName colorName
The color name that appears in the document body stream

indirectReference

(package private)  PdfIndirectReference indirectReference
The indirect reference to this color

spotcolor

(package private)  PdfSpotColor spotcolor
The color

Constructor Details

ColorDetails

(package private)  ColorDetails(PdfName colorName,
                                PdfIndirectReference indirectReference,
                                PdfSpotColor scolor)
Each spot color used in a document has an instance of this class.
Parameters:
colorName - the color name
indirectReference - the indirect reference to the font
scolor - the PDfSpotColor

Method Details

getColorName

(package private)  PdfName getColorName()
Gets the color name as it appears in the document body.
Returns:
the color name

getIndirectReference

(package private)  PdfIndirectReference getIndirectReference()
Gets the indirect reference to this color.
Returns:
the indirect reference to this color

getSpotColor

(package private)  PdfObject getSpotColor(PdfWriter writer)
            throws IOException
Gets the SpotColor object.
Returns:
the PdfSpotColor