com.lowagie.text.pdf

Class PdfSpotColor

public class PdfSpotColor extends Object

A PdfSpotColor defines a ColorSpace

See Also: PdfDictionary

Field Summary
Coloraltcs
The alternative color space
PdfNamename
The color name
protected floattint
Constructor Summary
PdfSpotColor(String name, float tint, Color altcs)
Constructs a new PdfSpotColor.
Method Summary
ColorgetAlternativeCS()
Gets the alternative ColorSpace.
protected PdfObjectgetSpotObject(PdfWriter writer)
floatgetTint()
Gets the tint of the SpotColor.

Field Detail

altcs

public Color altcs
The alternative color space

name

public PdfName name
The color name

tint

protected float tint

Constructor Detail

PdfSpotColor

public PdfSpotColor(String name, float tint, Color altcs)
Constructs a new PdfSpotColor.

Parameters: name a String value tint a tint value between 0 and 1 altcs a altnative colorspace value

Method Detail

getAlternativeCS

public Color getAlternativeCS()
Gets the alternative ColorSpace.

Returns: a Colot

getSpotObject

protected PdfObject getSpotObject(PdfWriter writer)

getTint

public float getTint()
Gets the tint of the SpotColor.

Returns: a float