public class PdfSpotColor
extends java.lang.Object
PdfSpotColor
defines a ColorSpacePdfDictionary
Modifier and Type | Field and Description |
---|---|
java.awt.Color |
altcs
The alternative color space
|
PdfName |
name
The color name
|
protected float |
tint |
Constructor and Description |
---|
PdfSpotColor(java.lang.String name,
float tint,
java.awt.Color altcs)
Constructs a new
PdfSpotColor . |
Modifier and Type | Method and Description |
---|---|
java.awt.Color |
getAlternativeCS()
Gets the alternative ColorSpace.
|
protected PdfObject |
getSpotObject(PdfWriter writer) |
float |
getTint()
Gets the tint of the SpotColor.
|
protected float tint
public PdfName name
public java.awt.Color altcs
public PdfSpotColor(java.lang.String name, float tint, java.awt.Color altcs)
PdfSpotColor
.name
- a String valuetint
- a tint value between 0 and 1altcs
- a altnative colorspace value