com.itextpdf.text.pdf
Class PdfSpotColor

java.lang.Object
  extended by com.itextpdf.text.pdf.PdfSpotColor

public class PdfSpotColor
extends Object

A PdfSpotColor defines a ColorSpace

See Also:
PdfDictionary

Field Summary
 BaseColor altcs
          The alternative color space
 PdfName name
          The color name
 
Constructor Summary
PdfSpotColor(String name, BaseColor altcs)
          Constructs a new PdfSpotColor.
 
Method Summary
 boolean equals(Object obj)
           
 BaseColor getAlternativeCS()
          Gets the alternative ColorSpace.
protected  PdfObject getSpotObject(PdfWriter writer)
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

name

public PdfName name
The color name


altcs

public BaseColor altcs
The alternative color space

Constructor Detail

PdfSpotColor

public PdfSpotColor(String name,
                    BaseColor altcs)
Constructs a new PdfSpotColor.

Parameters:
name - a String value
altcs - an alternative colorspace value
Method Detail

getAlternativeCS

public BaseColor getAlternativeCS()
Gets the alternative ColorSpace.

Returns:
a BaseColor

getSpotObject

protected PdfObject getSpotObject(PdfWriter writer)

equals

public boolean equals(Object obj)
Overrides:
equals in class Object


Copyright © 2013. All Rights Reserved.