|
DynamicPDF by ceTe Software | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.cete.dynamicpdf.Color
com.cete.dynamicpdf.SpotColor
public class SpotColor
Represents a spot color.
Licensing:
This class is a DynamicPDF Generator Professional Edition
feature. One of the following licenses is required for non-evaluation usage:
| Constructor Summary | |
|---|---|
SpotColor(float tint,
SpotColorInk ink)
Initializes a new instance of the SpotColor class. |
|
| Method Summary | |
|---|---|
void |
drawFill(PageWriter writer)
Draws the color data to the given |
void |
drawStroke(PageWriter writer)
Draws the color data to the given |
boolean |
equals(java.lang.Object obj)
Tests equality of colors. |
ColorSpace |
getColorSpace()
Gets the color space for the color. |
float |
getTint()
Gets the color space for the color. |
int |
hashCode()
Serves as a hash function for a particular type, suitable for use in hashing algorithms and data structures like a hash table. |
| Methods inherited from class com.cete.dynamicpdf.Color |
|---|
drawFill, drawStroke |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public SpotColor(float tint,
SpotColorInk ink)
SpotColor class.
tint - Value between 0 and 1 specifying a percentage of the color to come through.ink - The SpotColorInk to be used.| Method Detail |
|---|
public ColorSpace getColorSpace()
getColorSpace in class Colorpublic float getTint()
public boolean equals(java.lang.Object obj)
equals in class Colorobj - Object to compare to the current Color.
public int hashCode()
hashCode in class ColorColor object.public void drawStroke(PageWriter writer)
drawStroke in class Colorwriter - PageWriter object to receive the color data.PageWriterpublic void drawFill(PageWriter writer)
drawFill in class Colorwriter - PageWriter object to receive the color data.PageWriter
|
DynamicPDF by ceTe Software | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||