|
fop 2.1 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.fop.pdf.PDFColorHandler
public class PDFColorHandler
This class handles the registration of color spaces and the generation of PDF code to select
the right colors given a Color
instance.
Constructor Summary | |
---|---|
PDFColorHandler(PDFResources resources)
Create a new instance for the given PDFResources |
Method Summary | |
---|---|
void |
establishColor(java.lang.StringBuffer codeBuffer,
java.awt.Color color,
boolean fill)
Generates code to select the given color and handles the registration of color spaces in PDF where necessary. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public PDFColorHandler(PDFResources resources)
PDFResources
resources
- the PDF resourcesMethod Detail |
---|
public void establishColor(java.lang.StringBuffer codeBuffer, java.awt.Color color, boolean fill)
codeBuffer
- the target buffer to receive the color selection codecolor
- the colorfill
- true for fill color, false for stroke color
|
fop 2.1 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |