pdfgraphicswidget-ag凯发旗舰厅
com.spire.pdf.graphics
class pdfgraphicswidget
java.lang.object
com.spire.pdf.graphics.pdfgraphicswidget
- direct known subclasses:
- pdfautomaticfield, pdflayoutwidget
public abstract class pdfgraphicswidget
- extends java.lang.object
represents a base class for all page graphics elements.
method summary |
void |
draw(pdfcanvas graphics)
draws an element on the graphics. |
void |
draw(pdfcanvas graphics,
double x,
double y)
|
void |
draw(pdfcanvas graphics,
java.awt.geom.point2d location)
draws an element on the graphics. |
pdfgraphicswidget
protected pdfgraphicswidget()
draw
public void draw(pdfcanvas graphics)
- draws an element on the graphics.
- parameters:
graphics
- graphics context where the element should be printed.
draw
public void draw(pdfcanvas graphics,
java.awt.geom.point2d location)
- draws an element on the graphics.
- parameters:
graphics
- graphics context where the element should be printed.location
- location of the element in the graphics' co-ordinate system.
draw
public void draw(pdfcanvas graphics,
double x,
double y)