com.lowagie.text.pdf
Class PdfSpotColor

java.lang.Object
  extended bycom.lowagie.text.pdf.PdfSpotColor

public class PdfSpotColor
extends Object

A PdfSpotColor defines a ColorSpace

See Also:
PdfDictionary

Field Summary
 Color altcs
          The alternative color space
 PdfName name
          The color name
 
Constructor Summary
PdfSpotColor(String name, float tint, Color altcs)
          Constructs a new PdfSpotColor.
 
Method Summary
 Color getAlternativeCS()
          Gets the alternative ColorSpace.
 float getTint()
          Gets the tint of the SpotColor.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

name

public PdfName name
The color name


altcs

public Color altcs
The alternative color space

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 - an alternative colorspace value
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 Color


Copyright © 2011 EGIZ - E-Government Innovation Center. All Rights Reserved.