|
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
|
+--com.cete.dynamicpdf.CmykColor
Class represents a CMYK color.
| Constructor Summary | |
CmykColor(byte cyan,
byte magenta,
byte yellow,
byte black)
Initializes a new instance of the CmykColor class. |
|
CmykColor(float cyan,
float magenta,
float yellow,
float black)
Initializes a new instance of the CmykColor class. |
|
| Method Summary | |
void |
draw(PageWriter writer,
Apply apply)
Draws the color data to the given PageWriter object. |
boolean |
equals(java.lang.Object obj)
Tests equality of colors. |
float |
getC()
Gets the cyan value. |
float |
getK()
Gets the black value. |
float |
getM()
Gets the magenta value. |
float |
getY()
Gets the yellow value. |
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 |
public CmykColor(float cyan,
float magenta,
float yellow,
float black)
CmykColor class.
java.lang.IllegalArgumentException - CMYK values must be from 0.0 to 1.0.cyan - The cyan intensity.magenta - The magenta intensity.yellow - The yellow intensity.black - The black intensity.CmykColor
public CmykColor(byte cyan,
byte magenta,
byte yellow,
byte black)
CmykColor class.
cyan - The cyan intensity.magenta - The magenta intensity.yellow - The yellow intensity.black - The black intensity.CmykColor| Method Detail |
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
public void draw(PageWriter writer,
Apply apply)
PageWriter object.
draw in class Colorwriter - PageWriter object to receive the color data.apply - Defines how the color is applied.PageWriterpublic float getC()
public float getM()
public float getY()
public float getK()
|
DynamicPDF by ceTe Software | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||