class ColorDetails extends Object
Modifier and Type | Field and Description |
---|---|
(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 and Description |
---|
ColorDetails(PdfName colorName,
PdfIndirectReference indirectReference,
PdfSpotColor scolor)
Each spot color used in a document has an instance of this class.
|
Modifier and Type | Method and Description |
---|---|
(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. |
PdfIndirectReference indirectReference
PdfSpotColor spotcolor
ColorDetails(PdfName colorName, PdfIndirectReference indirectReference, PdfSpotColor scolor)
colorName
- the color nameindirectReference
- the indirect reference to the fontscolor
- the PDfSpotColor
PdfIndirectReference getIndirectReference()
PdfName getColorName()
PdfObject getSpotColor(PdfWriter writer)
SpotColor
object.PdfSpotColor
WebARTS Library Licensed Under the GNU - General Public License. Other Libraries licensed under their respective Open Source Licenses