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)