public class PdfSpotColor extends Object implements ICachedColorSpace, IPdfSpecialColorSpace
PdfSpotColor
defines a ColorSpace
PdfDictionary
Modifier and Type | Field and Description |
---|---|
com.itextpdf.text.pdf.ColorDetails |
altColorDetails |
BaseColor |
altcs
The alternative color space
|
PdfName |
name
The color name
|
Constructor and Description |
---|
PdfSpotColor(String name, BaseColor altcs)
Constructs a new PdfSpotColor .
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
BaseColor |
getAlternativeCS()
Gets the alternative ColorSpace.
|
com.itextpdf.text.pdf.ColorDetails[] |
getColorantDetails(PdfWriter writer) |
PdfName |
getName() |
PdfObject |
getPdfObject(PdfWriter writer) |
protected PdfObject |
getSpotObject(PdfWriter writer)
Deprecated.
|
int |
hashCode() |
public PdfName name
public BaseColor altcs
public com.itextpdf.text.pdf.ColorDetails altColorDetails
public com.itextpdf.text.pdf.ColorDetails[] getColorantDetails(PdfWriter writer)
getColorantDetails
in interface IPdfSpecialColorSpace
public BaseColor getAlternativeCS()
public PdfName getName()
@Deprecated protected PdfObject getSpotObject(PdfWriter writer)
public PdfObject getPdfObject(PdfWriter writer)
getPdfObject
in interface ICachedColorSpace
public boolean equals(Object o)
equals
in interface ICachedColorSpace
equals
in class Object
public int hashCode()
hashCode
in interface ICachedColorSpace
hashCode
in class Object
Copyright © 1998–2019. All rights reserved.