com.sun.pdfview
public class PDFPaint extends Object
Constructor Summary | |
---|---|
protected | PDFPaint(Paint p)
create a new PDFPaint based on a solid color |
Method Summary | |
---|---|
Rectangle2D | fill(PDFRenderer state, Graphics2D g, GeneralPath s)
fill a path with the paint, and record the dirty area. |
static PDFPaint | getColorPaint(Color c)
get the PDFPaint representing a solid color |
static PDFPaint | getPaint(Paint p)
get the PDFPaint representing a generic paint |
Paint | getPaint()
get the primary color associated with this PDFPaint. |
Parameters: state the current graphics state g the graphics into which to draw s the path to fill