Class PdfSpotColor

java.lang.Object
com.lowagie.text.pdf.PdfSpotColor

public class PdfSpotColor extends Object
A PdfSpotColor defines a ColorSpace
See Also:
  • Field Details

    • name

      public PdfName name
      The color name
    • altcs

      public Color altcs
      The alternative color space
  • Constructor Details

    • PdfSpotColor

      public PdfSpotColor(String name, Color altcs)
      Constructs a new PdfSpotColor.
      Parameters:
      name - a String value
      altcs - an alternative colorspace value
  • Method Details

    • getAlternativeCS

      public Color getAlternativeCS()
      Gets the alternative ColorSpace.
      Returns:
      a Color
    • getSpotObject

      protected PdfObject getSpotObject(PdfWriter writer)