Class PdfSpotColor
- java.lang.Object
-
- com.gitlab.pdftk_java.com.lowagie.text.pdf.PdfSpotColor
-
public class PdfSpotColor extends Object
APdfSpotColordefines a ColorSpace- See Also:
PdfDictionary
-
-
Constructor Summary
Constructors Constructor Description PdfSpotColor(String name, float tint, Color altcs)Constructs a newPdfSpotColor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ColorgetAlternativeCS()Gets the alternative ColorSpace.protected PdfObjectgetSpotObject(PdfWriter writer)floatgetTint()Gets the tint of the SpotColor.
-
-
-
Method Detail
-
getTint
public float getTint()
Gets the tint of the SpotColor.- Returns:
- a float
-
getAlternativeCS
public Color getAlternativeCS()
Gets the alternative ColorSpace.- Returns:
- a Colot
-
getSpotObject
protected PdfObject getSpotObject(PdfWriter writer) throws IOException
- Throws:
IOException
-
-