|
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
public abstract class ColorSpace
Represents a color space resource for a color.
Licensing:
This class is a DynamicPDF Generator Community Edition feature.
Constructor Summary | |
---|---|
ColorSpace()
|
Method Summary | |
---|---|
void |
draw(DocumentWriter writer)
Draws the color space to the given DocumentWriter object. |
abstract void |
drawColorSpace(DocumentWriter writer)
Draws the color space to the specified DocumentWriter . |
abstract void |
drawName(PageWriter writer)
Draws the color space name to the specified PageWriter . |
static ColorSpace |
getDeviceCmyk()
Gets the DeviceCmyk color space. |
static ColorSpace |
getDeviceGray()
Gets the DeviceGray color space. |
static ColorSpace |
getDeviceRgb()
Gets the DeviceRgb color space. |
static ColorSpace |
getPattern()
Gets the Pattern color space. |
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 ColorSpace()
Method Detail |
---|
public static ColorSpace getDeviceGray()
public static ColorSpace getDeviceRgb()
public static ColorSpace getDeviceCmyk()
public static ColorSpace getPattern()
public void draw(DocumentWriter writer)
DocumentWriter
object.
draw
in class Resource
writer
- DocumentWriter
to receive the encoder's output.DocumentWriter
public abstract void drawName(PageWriter writer)
PageWriter
.
writer
- PageWriter
to take the color space name.PageWriter
public abstract void drawColorSpace(DocumentWriter writer)
DocumentWriter
.
writer
- DocumentWriter
to receive color space.DocumentWriter
|
DynamicPDF by ceTe Software | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |