Package com.lowagie.text.pdf
Class PdfSpotColor
java.lang.Object
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.PdfSpotColor(String name, Color altcs) Constructs a newPdfSpotColor. -
Method Summary
Modifier and TypeMethodDescriptionGets the alternative ColorSpace.protected PdfObjectgetSpotObject(PdfWriter writer) floatgetTint()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 valuealtcs- an alternative colorspace value
-
PdfSpotColor
Constructs a newPdfSpotColor.- Parameters:
name- a String valuetint- a tint value between 0 and 1altcs- an alternative colorspace value
-
-
Method Details
-
getTint
public float getTint()Gets the tint of the SpotColor.- Returns:
- a float
-
getAlternativeCS
Gets the alternative ColorSpace.- Returns:
- a Color
-
getSpotObject
-