|
DynamicPDF by ceTe Software | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.cete.dynamicpdf.Resource com.cete.dynamicpdf.ColorSpace com.cete.dynamicpdf.SpotColorInk
public class SpotColorInk
Represents a spot color ink.
Licensing:
This class is a DynamicPDF Generator Professional Edition
feature. One of the following licenses is required for non-evaluation usage:
Constructor Summary | |
---|---|
SpotColorInk(java.lang.String name,
CmykColor alternateColor)
Initializes a new instance of the SpotColorInk class. |
Method Summary | |
---|---|
void |
draw(DocumentWriter writer)
Draws the spot color ink to the specified DocumentWriter . |
void |
drawColorSpace(DocumentWriter writer)
Draws the color space to the specified |
void |
drawName(PageWriter writer)
Draws the spot color ink name to the specified PageWriter . |
CmykColor |
getAlternateColor()
Gets the CMYK color to be used as the alternative color. |
java.lang.String |
getName()
Gets the name of the ink to be used. |
Methods inherited from class com.cete.dynamicpdf.ColorSpace |
---|
getDeviceCmyk, getDeviceGray, getDeviceRgb, getPattern |
Methods inherited from class com.cete.dynamicpdf.Resource |
---|
getRequiredPdfObjects, getResourceType, getUid, newUid |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SpotColorInk(java.lang.String name, CmykColor alternateColor)
SpotColorInk
class.
name
- Name of the spot color ink to be used.alternateColor
- The CMYK color to be used when the device does not contain the sopt color specified.Method Detail |
---|
public java.lang.String getName()
public CmykColor getAlternateColor()
public void drawName(PageWriter writer)
PageWriter
.
drawName
in class ColorSpace
writer
- PageWriter
to take the spot color ink name.PageWriter
public void drawColorSpace(DocumentWriter writer)
drawColorSpace
in class ColorSpace
writer
- DocumentWriter
to take the color space.DocumentWriter
public void draw(DocumentWriter writer)
DocumentWriter
.
draw
in class ColorSpace
writer
- DocumentWriter
to take the spot color ink.DocumentWriter
|
DynamicPDF by ceTe Software | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |