|
|||||||||
prev class next class | frames no frames | ||||||||
summary: nested | field | constr | method | detail: field | constr | method |
java.lang.objectcom.spire.pdf.graphics.pdfgraphicswidget
com.spire.pdf.automaticfields.pdfautomaticfield
public abstract class pdfautomaticfield
represents a fields which is calculated before the document saves.
constructor summary | |
---|---|
protected |
pdfautomaticfield()
|
protected |
pdfautomaticfield(pdffontbase font)
|
protected |
pdfautomaticfield(pdffontbase font,
pdfbrush brush)
|
protected |
pdfautomaticfield(pdffontbase font,
com.spire.ms.system.drawing.rectanglef bounds)
|
method summary | |
---|---|
void |
draw(pdfcanvas graphics,
double x,
double y)
draws an element on the graphics. |
java.awt.geom.rectangle2d |
getbounds()
gets the bounds of the field. |
pdfbrush |
getbrush()
gets the brush. |
pdffontbase |
getfont()
gets the font. |
java.awt.geom.point2d |
getlocation()
gets the location of the field. |
pdfpen |
getpen()
gets the pen. |
java.awt.geom.dimension2d |
getsize()
gets the size of the field. |
pdfstringformat |
getstringformat()
gets the string format. |
void |
setbounds(java.awt.geom.rectangle2d value)
sets the bounds of the field. |
void |
setbrush(pdfbrush value)
sets the brush. |
void |
setfont(pdffontbase value)
sets the font. |
void |
setlocation(java.awt.geom.point2d value)
sets or sets the location of the field. |
void |
setpen(pdfpen value)
sets the pen. |
void |
setsize(java.awt.geom.dimension2d value)
sets the size of the field. |
void |
setstringformat(pdfstringformat value)
sets the string format. |
methods inherited from class com.spire.pdf.graphics.pdfgraphicswidget |
---|
draw, draw |
constructor detail |
---|
protected pdfautomaticfield()
protected pdfautomaticfield(pdffontbase font)
protected pdfautomaticfield(pdffontbase font, pdfbrush brush)
protected pdfautomaticfield(pdffontbase font, com.spire.ms.system.drawing.rectanglef bounds)
method detail |
---|
public java.awt.geom.rectangle2d getbounds()
public void setbounds(java.awt.geom.rectangle2d value)
public java.awt.geom.dimension2d getsize()
public void setsize(java.awt.geom.dimension2d value)
public java.awt.geom.point2d getlocation()
public void setlocation(java.awt.geom.point2d value)
public pdffontbase getfont()
public void setfont(pdffontbase value)
public pdfbrush getbrush()
public void setbrush(pdfbrush value)
public pdfpen getpen()
public void setpen(pdfpen value)
public pdfstringformat getstringformat()
public void setstringformat(pdfstringformat value)
public void draw(pdfcanvas graphics, double x, double y)
draw
in class pdfgraphicswidget
graphics
- graphics context where the element should be printed.x
- x co-ordinate of the element.y
- y co-ordinate of the element.
|
|||||||||
prev class next class | frames no frames | ||||||||
summary: nested | field | constr | method | detail: field | constr | method |