Class PdfSpotColor
java.lang.Object
com.gitlab.pdftk_java.com.lowagie.text.pdf.PdfSpotColor
A
PdfSpotColor
defines a ColorSpace- See Also:
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionPdfSpotColor
(String name, float tint, Color altcs) Constructs a newPdfSpotColor
. -
Method Summary
Modifier and TypeMethodDescriptionGets the alternative ColorSpace.protected PdfObject
getSpotObject
(PdfWriter writer) float
getTint()
Gets the tint of the SpotColor.
-
Field Details
-
tint
protected float tint -
name
The color name -
altcs
The alternative color space
-
-
Constructor Details
-
PdfSpotColor
Constructs a newPdfSpotColor
.- Parameters:
name
- a String valuetint
- a tint value between 0 and 1altcs
- a altnative colorspace value
-
-
Method Details
-
getTint
public float getTint()Gets the tint of the SpotColor.- Returns:
- a float
-
getAlternativeCS
Gets the alternative ColorSpace.- Returns:
- a Colot
-
getSpotObject
- Throws:
IOException
-