|
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.Color
public abstract class Color
Class provides the base class representing color.
Licensing:
This class is a DynamicPDF Generator Community Edition feature.
Constructor Summary | |
---|---|
protected |
Color()
Initializes a new instance of the Color class. |
Method Summary | |
---|---|
void |
drawFill(OperatorWriter writer)
Draws the color data to the given OperatorWriter object. |
abstract void |
drawFill(PageWriter writer)
Draws the color data to the given PageWriter object. |
void |
drawStroke(OperatorWriter writer)
Draws the color data to the given OperatorWriter object. |
abstract void |
drawStroke(PageWriter writer)
Draws the color data to the given PageWriter object. |
abstract boolean |
equals(java.lang.Object obj)
Tests equality of colors. |
abstract ColorSpace |
getColorSpace()
Gets the color space for the color. |
abstract 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 java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
protected Color()
Color
class.
Colors derived classes are:
CmykColor
,
Grayscale
,
WebColor
,
RgbColor
,
SpotColor
,
Gradient
Method Detail |
---|
public abstract boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
obj
- Object to compare to the current Color
.
public abstract int hashCode()
hashCode
in class java.lang.Object
Color
.public abstract ColorSpace getColorSpace()
public abstract void drawStroke(PageWriter writer)
PageWriter
object.
writer
- PageWriter
object to receive the color data.PageWriter
public void drawStroke(OperatorWriter writer)
OperatorWriter
object.
writer
- OperatorWriter
object to receive the color data.OperatorWriter
public abstract void drawFill(PageWriter writer)
PageWriter
object.
writer
- PageWriter
object to receive the color data.PageWriter
public void drawFill(OperatorWriter writer)
OperatorWriter
object.
writer
- OperatorWriter
object to receive the color data.OperatorWriter
|
DynamicPDF by ceTe Software | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |