|
|||||||||
prev class next class | frames no frames | ||||||||
summary: nested | field | constr | method | detail: field | constr | method |
java.lang.objectcom.spire.pdf.graphics.pdfcanvas
public final class pdfcanvas
the class representing a graphics context of the objects. it's used for performing simple graphics operations.
constructor summary | |
---|---|
pdfcanvas()
|
|
pdfcanvas(java.awt.geom.dimension2d size,
resources,
stream)
|
|
pdfcanvas(java.awt.geom.dimension2d size,
resources,
writer)
|
method summary | |
---|---|
void |
drawarc(pdfpen pen,
double x,
double y,
double width,
double height,
double startangle,
double sweepangle)
draws an arc. |
void |
drawarc(pdfpen pen,
float x,
float y,
float width,
float height,
float startangle,
float sweepangle)
draws an arc. |
void |
drawarc(pdfpen pen,
java.awt.geom.rectangle2d rectangle,
double startangle,
double sweepangle)
draws an arc. |
void |
drawbezier(pdfpen pen,
double startpointx,
double startpointy,
double firstcontrolpointx,
double firstcontrolpointy,
double secondcontrolpointx,
double secondcontrolpointy,
double endpointx,
double endpointy)
draws a bezier curve. |
void |
drawbezier(pdfpen pen,
float startpointx,
float startpointy,
float firstcontrolpointx,
float firstcontrolpointy,
float secondcontrolpointx,
float secondcontrolpointy,
float endpointx,
float endpointy)
draws a bezier curve. |
void |
drawbezier(pdfpen pen,
java.awt.geom.point2d startpoint,
java.awt.geom.point2d firstcontrolpoint,
java.awt.geom.point2d secondcontrolpoint,
java.awt.geom.point2d endpoint)
draws a bezier curve. |
void |
drawellipse(pdfbrush brush,
double x,
double y,
double width,
double height)
draws an ellipse. |
void |
drawellipse(pdfbrush brush,
float x,
float y,
float width,
float height)
draws an ellipse. |
void |
drawellipse(pdfbrush brush,
java.awt.geom.rectangle2d rectangle)
draws an ellipse. |
void |
drawellipse(pdfpen pen,
double x,
double y,
double width,
double height)
draws an ellipse. |
void |
drawellipse(pdfpen pen,
float x,
float y,
float width,
float height)
draws an ellipse. |
void |
drawellipse(pdfpen pen,
pdfbrush brush,
double x,
double y,
double width,
double height)
draws an ellipse. |
void |
drawellipse(pdfpen pen,
pdfbrush brush,
float x,
float y,
float width,
float height)
draws an ellipse. |
void |
drawellipse(pdfpen pen,
pdfbrush brush,
java.awt.geom.rectangle2d rectangle)
draws an ellipse. |
void |
drawellipse(pdfpen pen,
java.awt.geom.rectangle2d rectangle)
draws an ellipse. |
void |
(java.lang.string s,
pdffontbase font,
pdfpen pen,
pdfbrush brush,
com.spire.ms.system.drawing.rectanglef layoutrectangle,
pdfstringformat format)
draws the specified text string at the specified location and size with the specified pen, brush and font objects. |
void |
drawimage(pdfimage image,
double x,
double y)
draws an image. |
void |
drawimage(pdfimage image,
double x,
double y,
double width,
double height)
draws an image. |
void |
drawimage(pdfimage image,
float x,
float y)
draws an image. |
void |
drawimage(pdfimage image,
float x,
float y,
float width,
float height)
draws an image. |
void |
drawimage(pdfimage image,
int compressionquality,
double x,
double y,
double width,
double height)
draws an image,recommending monochrome image |
void |
drawimage(pdfimage image,
int compressionquality,
float x,
float y,
float width,
float height)
draws an image,recommending monochrome image |
void |
drawimage(pdfimage image,
int compressionquality,
java.awt.geom.point2d point,
java.awt.geom.dimension2d size)
draws an image,recommending monochrome image. |
void |
drawimage(pdfimage image,
java.awt.geom.point2d point)
draws an image. |
void |
drawimage(pdfimage image,
java.awt.geom.point2d point,
java.awt.geom.dimension2d size)
draws an image. |
void |
drawimage(pdfimage image,
java.awt.geom.rectangle2d rectangle)
draws an image. |
void |
drawline(pdfpen pen,
double x1,
double y1,
double x2,
double y2)
draws a line. |
void |
drawline(pdfpen pen,
float x1,
float y1,
float x2,
float y2)
draws a line. |
void |
drawline(pdfpen pen,
java.awt.geom.point2d point1,
java.awt.geom.point2d point2)
draws a line. |
void |
drawpath(pdfbrush brush,
pdfpath path)
draws a path. |
void |
drawpath(pdfpen pen,
pdfbrush brush,
pdfpath path)
draws a path. |
void |
drawpath(pdfpen pen,
pdfpath path)
draws a path. |
void |
drawpie(pdfbrush brush,
double x,
double y,
double width,
double height,
double startangle,
double sweepangle)
draws a pie. |
void |
drawpie(pdfbrush brush,
float x,
float y,
float width,
float height,
float startangle,
float sweepangle)
draws a pie. |
void |
drawpie(pdfbrush brush,
java.awt.geom.rectangle2d rectangle,
double startangle,
double sweepangle)
draws a pie. |
void |
drawpie(pdfpen pen,
double x,
double y,
double width,
double height,
double startangle,
double sweepangle)
draws a pie. |
void |
drawpie(pdfpen pen,
float x,
float y,
float width,
float height,
float startangle,
float sweepangle)
draws a pie. |
void |
drawpie(pdfpen pen,
pdfbrush brush,
double x,
double y,
double width,
double height,
double startangle,
double sweepangle)
draws a pie. |
void |
drawpie(pdfpen pen,
pdfbrush brush,
float x,
float y,
float width,
float height,
float startangle,
float sweepangle)
draws a pie. |
void |
drawpie(pdfpen pen,
pdfbrush brush,
java.awt.geom.rectangle2d rectangle,
double startangle,
double sweepangle)
draws a pie. |
void |
drawpie(pdfpen pen,
java.awt.geom.rectangle2d rectangle,
double startangle,
double sweepangle)
draws a pie. |
void |
drawpolygon(pdfbrush brush,
java.awt.geom.point2d[] points)
draws a polygon. |
void |
drawpolygon(pdfpen pen,
pdfbrush brush,
java.awt.geom.point2d[] points)
draws a polygon. |
void |
drawpolygon(pdfpen pen,
java.awt.geom.point2d[] points)
draws a polygon. |
void |
drawrectangle(pdfbrush brush,
double x,
double y,
double width,
double height)
draws a rectangle. |
void |
drawrectangle(pdfbrush brush,
float x,
float y,
float width,
float height)
draws a rectangle. |
void |
drawrectangle(pdfbrush brush,
java.awt.geom.rectangle2d rectangle)
draws a rectangle. |
void |
drawrectangle(pdfpen pen,
double x,
double y,
double width,
double height)
draws a rectangle. |
void |
drawrectangle(pdfpen pen,
float x,
float y,
float width,
float height)
draws a rectangle. |
void |
drawrectangle(pdfpen pen,
pdfbrush brush,
double x,
double y,
double width,
double height)
draws a rectangle. |
void |
drawrectangle(pdfpen pen,
pdfbrush brush,
float x,
float y,
float width,
float height)
draws a rectangle. |
void |
drawrectangle(pdfpen pen,
pdfbrush brush,
java.awt.geom.rectangle2d rectangle)
draws a rectangle. |
void |
drawrectangle(pdfpen pen,
java.awt.geom.rectangle2d rectangle)
draws a rectangle. |
void |
drawstring(java.lang.string s,
pdffontbase font,
pdfbrush brush,
double x,
double y)
draws the specified text string at the specified location with the specified brush and font objects. |
void |
drawstring(java.lang.string s,
pdffontbase font,
pdfbrush brush,
double x,
double y,
boolean htmltags)
draws the specified text string at the specified location with the specified brush and font objects. |
void |
(java.lang.string s,
pdffontbase font,
pdfbrush brush,
double x,
double y,
pdfstringformat format)
draws the specified text string at the specified location with the specified brush and font objects. |
void |
(java.lang.string s,
pdffontbase font,
pdfbrush brush,
double x,
double y,
pdfstringformat format,
boolean htmltags)
draws the specified text string at the specified location with the specified brush and font objects. |
void |
drawstring(java.lang.string s,
pdffontbase font,
pdfbrush brush,
float x,
float y)
draws the specified text string at the specified location with the specified brush and font objects. |
void |
drawstring(java.lang.string s,
pdffontbase font,
pdfbrush brush,
float x,
float y,
boolean htmltags)
draws the specified text string at the specified location with the specified brush and font objects. |
void |
(java.lang.string s,
pdffontbase font,
pdfbrush brush,
float x,
float y,
pdfstringformat format)
draws the specified text string at the specified location with the specified brush and font objects. |
void |
(java.lang.string s,
pdffontbase font,
pdfbrush brush,
float x,
float y,
pdfstringformat format,
boolean htmltags)
draws the specified text string at the specified location with the specified brush and font objects. |
void |
drawstring(java.lang.string s,
pdffontbase font,
pdfbrush brush,
java.awt.geom.point2d point)
draws the specified text string at the specified location with the specified brush and font objects. |
void |
drawstring(java.lang.string s,
pdffontbase font,
pdfbrush brush,
java.awt.geom.point2d point,
boolean htmltags)
draws the specified text string at the specified location with the specified brush and font objects. |
void |
(java.lang.string s,
pdffontbase font,
pdfbrush brush,
java.awt.geom.point2d point,
pdfstringformat format)
draws the specified text string at the specified location with the specified brush and font objects. |
void |
(java.lang.string s,
pdffontbase font,
pdfbrush brush,
java.awt.geom.point2d point,
pdfstringformat format,
boolean htmltags)
draws the specified text string at the specified location with the specified brush and font objects. |
void |
drawstring(java.lang.string s,
pdffontbase font,
pdfbrush brush,
java.awt.geom.rectangle2d layoutrectangle)
draws the specified text string at the specified location and size with the specified brush and font objects. |
void |
drawstring(java.lang.string s,
pdffontbase font,
pdfbrush brush,
java.awt.geom.rectangle2d layoutrectangle,
boolean htmltags)
draws the specified text string at the specified location and size with the specified brush and font objects. |
void |
(java.lang.string s,
pdffontbase font,
pdfbrush brush,
java.awt.geom.rectangle2d layoutrectangle,
pdfstringformat format)
draws the specified text string at the specified location and size with the specified brush and font objects. |
void |
(java.lang.string s,
pdffontbase font,
pdfbrush brush,
java.awt.geom.rectangle2d layoutrectangle,
pdfstringformat format,
boolean htmltags)
draws the specified text string at the specified location and size with the specified brush and font objects. |
void |
drawstring(java.lang.string s,
pdffontbase font,
pdfpen pen,
double x,
double y)
draws the specified text string at the specified location with the specified brush and font objects. |
void |
drawstring(java.lang.string s,
pdffontbase font,
pdfpen pen,
double x,
double y,
boolean htmltags)
draws the specified text string at the specified location with the specified brush and font objects. |
void |
(java.lang.string s,
pdffontbase font,
pdfpen pen,
double x,
double y,
pdfstringformat format)
draws the specified text string at the specified location with the specified brush and font objects. |
void |
(java.lang.string s,
pdffontbase font,
pdfpen pen,
double x,
double y,
pdfstringformat format,
boolean htmltags)
draws the specified text string at the specified location with the specified brush and font objects. |
void |
drawstring(java.lang.string s,
pdffontbase font,
pdfpen pen,
float x,
float y)
draws the specified text string at the specified location with the specified brush and font objects. |
void |
drawstring(java.lang.string s,
pdffontbase font,
pdfpen pen,
float x,
float y,
boolean htmltags)
draws the specified text string at the specified location with the specified brush and font objects. |
void |
drawstring(java.lang.string s,
pdffontbase font,
pdfpen pen,
float x,
float y,
pdfstringformat format)
draws the specified text string at the specified location with the specified brush and font objects. |
void |
(java.lang.string s,
pdffontbase font,
pdfpen pen,
float x,
float y,
pdfstringformat format,
boolean htmltags)
draws the specified text string at the specified location with the specified brush and font objects. |
void |
drawstring(java.lang.string s,
pdffontbase font,
pdfpen pen,
pdfbrush brush,
double x,
double y)
draws the specified text string at the specified location with the specified brush and font objects. |
void |
(java.lang.string s,
pdffontbase font,
pdfpen pen,
pdfbrush brush,
double x,
double y,
boolean htmltags)
draws the specified text string at the specified location with the specified brush and font objects. |
void |
(java.lang.string s,
pdffontbase font,
pdfpen pen,
pdfbrush brush,
double x,
double y,
pdfstringformat format)
draws the specified text string at the specified location with the specified brush and font objects. |
void |
(java.lang.string s,
pdffontbase font,
pdfpen pen,
pdfbrush brush,
double x,
double y,
pdfstringformat format,
boolean htmltags)
draws the specified text string at the specified location with the specified brush and font objects. |
void |
drawstring(java.lang.string s,
pdffontbase font,
pdfpen pen,
pdfbrush brush,
float x,
float y)
draws the specified text string at the specified location with the specified brush and font objects. |
void |
(java.lang.string s,
pdffontbase font,
pdfpen pen,
pdfbrush brush,
float x,
float y,
boolean htmltags)
draws the specified text string at the specified location with the specified brush and font objects. |
void |
(java.lang.string s,
pdffontbase font,
pdfpen pen,
pdfbrush brush,
float x,
float y,
pdfstringformat format)
draws the specified text string at the specified location with the specified brush and font objects. |
void |
(java.lang.string s,
pdffontbase font,
pdfpen pen,
pdfbrush brush,
float x,
float y,
pdfstringformat format,
boolean htmltags)
draws the specified text string at the specified location with the specified brush and font objects. |
void |
(java.lang.string s,
pdffontbase font,
pdfpen pen,
pdfbrush brush,
java.awt.geom.point2d point)
draws the specified text string at the specified location with the specified brush and font objects. |
void |
(java.lang.string s,
pdffontbase font,
pdfpen pen,
pdfbrush brush,
java.awt.geom.point2d point,
boolean htmltags)
draws the specified text string at the specified location with the specified brush and font objects. |
void |
(java.lang.string s,
pdffontbase font,
pdfpen pen,
pdfbrush brush,
java.awt.geom.point2d point,
pdfstringformat format)
draws the specified text string at the specified location with the specified brush and font objects. |
void |
(java.lang.string s,
pdffontbase font,
pdfpen pen,
pdfbrush brush,
java.awt.geom.point2d point,
pdfstringformat format,
boolean htmltags)
draws the specified text string at the specified location with the specified brush and font objects. |
void |
(java.lang.string s,
pdffontbase font,
pdfpen pen,
pdfbrush brush,
java.awt.geom.rectangle2d layoutrectangle,
pdfstringformat format)
draws the specified text string at the specified location and size with the specified pen, brush and font objects. |
void |
(java.lang.string s,
pdffontbase font,
pdfpen pen,
pdfbrush brush,
java.awt.geom.rectangle2d layoutrectangle,
pdfstringformat format,
boolean htmltags)
draws the specified text string at the specified location and size with the specified pen, brush and font objects. |
void |
drawstring(java.lang.string s,
pdffontbase font,
pdfpen pen,
java.awt.geom.point2d point)
draws the specified text string at the specified location with the specified brush and font objects. |
void |
drawstring(java.lang.string s,
pdffontbase font,
pdfpen pen,
java.awt.geom.point2d point,
boolean htmltags)
draws the specified text string at the specified location with the specified brush and font objects. |
void |
(java.lang.string s,
pdffontbase font,
pdfpen pen,
java.awt.geom.point2d point,
pdfstringformat format)
draws the specified text string at the specified location with the specified brush and font objects. |
void |
(java.lang.string s,
pdffontbase font,
pdfpen pen,
java.awt.geom.point2d point,
pdfstringformat format,
boolean htmltags)
draws the specified text string at the specified location with the specified brush and font objects. |
void |
drawstring(java.lang.string s,
pdffontbase font,
pdfpen pen,
java.awt.geom.rectangle2d layoutrectangle)
draws the specified text string at the specified location and size with the specified pen and font objects. |
void |
drawstring(java.lang.string s,
pdffontbase font,
pdfpen pen,
java.awt.geom.rectangle2d layoutrectangle,
boolean htmltags)
draws the specified text string at the specified location and size with the specified pen and font objects. |
void |
(java.lang.string s,
pdffontbase font,
pdfpen pen,
java.awt.geom.rectangle2d layoutrectangle,
pdfstringformat format)
draws the specified text string at the specified location and size with the specified pen and font objects. |
void |
(java.lang.string s,
pdffontbase font,
pdfpen pen,
java.awt.geom.rectangle2d layoutrectangle,
pdfstringformat format,
boolean htmltags)
draws the specified text string at the specified location and size with the specified pen and font objects. |
void |
drawtemplate(pdftemplate template,
java.awt.geom.point2d location)
draws a template using its original size, at the specified location. |
void |
drawtemplate(pdftemplate template,
java.awt.geom.point2d location,
java.awt.geom.dimension2d size)
draws a template at the specified location and size. |
java.awt.geom.dimension2d |
getclientsize()
gets the size of the canvas reduced by margins and page templates. |
|
getcolorspace()
gets the current color space. |
java.awt.geom.dimension2d |
getsize()
gets the size of the canvas. |
void |
restore()
restores the last state of this graphics. |
void |
restore(pdfgraphicsstate state)
restores the state of this graphics to the state represented by a graphicsstate. |
void |
rotatetransform(float angle)
rotates the coordinate system in counterclockwise direction. |
pdfgraphicsstate |
save()
saves the current state of this graphics and identifies the saved state with a graphicsstate. |
void |
scaletransform(double scalex,
double scaley)
scales the coordinates by specified coordinates. |
void |
scaletransform(float scalex,
float scaley)
scales the coordinates by specified coordinates. |
void |
setcolorspace( value)
sets the current color space. |
void |
settransparency(double alpha)
sets the transparency. |
void |
settransparency(double alphapen,
double alphabrush)
sets the transparency. |
void |
settransparency(double alphapen,
double alphabrush,
pdfblendmode blendmode)
sets the transparency. |
void |
settransparency(float alpha)
sets the transparency. |
void |
settransparency(float alphapen,
float alphabrush)
sets the transparency. |
void |
settransparency(float alphapen,
float alphabrush,
pdfblendmode blendmode)
sets the transparency. |
void |
skewtransform(float anglex,
float angley)
skews the coordinate system axes. |
void |
translatetransform(double offsetx,
double offsety)
translates the coordinates by specified coordinates. |
constructor detail |
---|
public pdfcanvas(java.awt.geom.dimension2d size, resources, writer)
public pdfcanvas(java.awt.geom.dimension2d size, resources, stream)
public pdfcanvas()
method detail |
---|
public java.awt.geom.dimension2d getsize()
usually, this value is equal to the size of the object this graphics belongs to.
public java.awt.geom.dimension2d getclientsize()
public getcolorspace()
public void setcolorspace( value)
public void drawline(pdfpen pen, java.awt.geom.point2d point1, java.awt.geom.point2d point2)
pen
- the pen.point1
- the point1.point2
- the point2.public void drawline(pdfpen pen, float x1, float y1, float x2, float y2)
pen
- the pen.x1
- the x1.y1
- the y1.x2
- the x2.y2
- the y2.public void drawline(pdfpen pen, double x1, double y1, double x2, double y2)
pen
- the pen.x1
- the x1.y1
- the y1.x2
- the x2.y2
- the y2.public void drawrectangle(pdfpen pen, java.awt.geom.rectangle2d rectangle)
pen
- the pen.rectangle
- the rectangle.public void drawrectangle(pdfpen pen, float x, float y, float width, float height)
pen
- the pen.x
- the x.y
- the y.width
- the width.height
- the height.public void drawrectangle(pdfpen pen, double x, double y, double width, double height)
pen
- the pen.x
- the x.y
- the y.width
- the width.height
- the height.public void drawrectangle(pdfbrush brush, java.awt.geom.rectangle2d rectangle)
brush
- the brush.rectangle
- the rectangle.public void drawrectangle(pdfbrush brush, float x, float y, float width, float height)
brush
- the brush.x
- the x.y
- the y.width
- the width.height
- the height.public void drawrectangle(pdfbrush brush, double x, double y, double width, double height)
brush
- the brush.x
- the x.y
- the y.width
- the width.height
- the height.public void drawrectangle(pdfpen pen, pdfbrush brush, java.awt.geom.rectangle2d rectangle)
pen
- the pen.brush
- the brush.rectangle
- the rectangle.public void drawrectangle(pdfpen pen, pdfbrush brush, float x, float y, float width, float height)
pen
- the pen.brush
- the brush.x
- the x.y
- the y.width
- the width.height
- the height.public void drawrectangle(pdfpen pen, pdfbrush brush, double x, double y, double width, double height)
pen
- the pen.brush
- the brush.x
- the x.y
- the y.width
- the width.height
- the height.public void drawellipse(pdfpen pen, java.awt.geom.rectangle2d rectangle)
pen
- the pen.rectangle
- the rectangle.public void drawellipse(pdfpen pen, float x, float y, float width, float height)
pen
- the pen.x
- the x.y
- the y.width
- the width.height
- the height.public void drawellipse(pdfpen pen, double x, double y, double width, double height)
pen
- the pen.x
- the x.y
- the y.width
- the width.height
- the height.public void drawellipse(pdfbrush brush, java.awt.geom.rectangle2d rectangle)
brush
- the brush.rectangle
- the rectangle.public void drawellipse(pdfbrush brush, float x, float y, float width, float height)
brush
- the brush.x
- the x.y
- the y.width
- the width.height
- the height.public void drawellipse(pdfbrush brush, double x, double y, double width, double height)
brush
- the brush.x
- the x.y
- the y.width
- the width.height
- the height.public void drawellipse(pdfpen pen, pdfbrush brush, java.awt.geom.rectangle2d rectangle)
pen
- the pen.brush
- the brush.rectangle
- the rectangle.public void drawellipse(pdfpen pen, pdfbrush brush, float x, float y, float width, float height)
pen
- the pen.brush
- the brush.x
- the x.y
- the y.width
- the width.height
- the height.public void drawellipse(pdfpen pen, pdfbrush brush, double x, double y, double width, double height)
pen
- the pen.brush
- the brush.x
- the x.y
- the y.width
- the width.height
- the height.public void drawarc(pdfpen pen, java.awt.geom.rectangle2d rectangle, double startangle, double sweepangle)
pen
- the pen.rectangle
- the rectangle.startangle
- the start angle.sweepangle
- the sweep angle.public void drawarc(pdfpen pen, float x, float y, float width, float height, float startangle, float sweepangle)
pen
- the pen.x
- the x.y
- the y.width
- the width.height
- the height.startangle
- the start angle.sweepangle
- the sweep angle.public void drawarc(pdfpen pen, double x, double y, double width, double height, double startangle, double sweepangle)
pen
- the pen.x
- the x.y
- the y.width
- the width.height
- the height.startangle
- the start angle.sweepangle
- the sweep angle.public void drawpie(pdfpen pen, java.awt.geom.rectangle2d rectangle, double startangle, double sweepangle)
pen
- the pen.rectangle
- the rectangle.startangle
- the start angle.sweepangle
- the sweep angle.public void drawpie(pdfpen pen, float x, float y, float width, float height, float startangle, float sweepangle)
pen
- the pen.x
- the x.y
- the y.width
- the width.height
- the height.startangle
- the start angle.sweepangle
- the sweep angle.public void drawpie(pdfpen pen, double x, double y, double width, double height, double startangle, double sweepangle)
pen
- the pen.x
- the x.y
- the y.width
- the width.height
- the height.startangle
- the start angle.sweepangle
- the sweep angle.public void drawpie(pdfbrush brush, java.awt.geom.rectangle2d rectangle, double startangle, double sweepangle)
brush
- the brush.rectangle
- the rectangle.startangle
- the start angle.sweepangle
- the sweep angle.public void drawpie(pdfbrush brush, float x, float y, float width, float height, float startangle, float sweepangle)
brush
- the brush.x
- the x.y
- the y.width
- the width.height
- the height.startangle
- the start angle.sweepangle
- the sweep angle.public void drawpie(pdfbrush brush, double x, double y, double width, double height, double startangle, double sweepangle)
brush
- the brush.x
- the x.y
- the y.width
- the width.height
- the height.startangle
- the start angle.sweepangle
- the sweep angle.public void drawpie(pdfpen pen, pdfbrush brush, java.awt.geom.rectangle2d rectangle, double startangle, double sweepangle)
pen
- the pen.brush
- the brush.rectangle
- the rectangle.startangle
- the start angle.sweepangle
- the sweep angle.public void drawpie(pdfpen pen, pdfbrush brush, float x, float y, float width, float height, float startangle, float sweepangle)
pen
- the pen.brush
- the brush.x
- the x.y
- the y.width
- the width.height
- the height.startangle
- the start angle.sweepangle
- the sweep angle.public void drawpie(pdfpen pen, pdfbrush brush, double x, double y, double width, double height, double startangle, double sweepangle)
pen
- the pen.brush
- the brush.x
- the x.y
- the y.width
- the width.height
- the height.startangle
- the start angle.sweepangle
- the sweep angle.public void drawpolygon(pdfpen pen, java.awt.geom.point2d[] points)
pen
- the pen.points
- the points.public void drawpolygon(pdfbrush brush, java.awt.geom.point2d[] points)
brush
- the brush.points
- the points.public void drawpolygon(pdfpen pen, pdfbrush brush, java.awt.geom.point2d[] points)
pen
- the pen.brush
- the brush.points
- the points.public void drawbezier(pdfpen pen, java.awt.geom.point2d startpoint, java.awt.geom.point2d firstcontrolpoint, java.awt.geom.point2d secondcontrolpoint, java.awt.geom.point2d endpoint)
pen
- the pen.startpoint
- the start point.firstcontrolpoint
- the first control point.secondcontrolpoint
- the second control point.endpoint
- the end point.public void drawbezier(pdfpen pen, float startpointx, float startpointy, float firstcontrolpointx, float firstcontrolpointy, float secondcontrolpointx, float secondcontrolpointy, float endpointx, float endpointy)
pen
- the pen.startpointx
- the start point x.startpointy
- the start point y.firstcontrolpointx
- the first control point x.firstcontrolpointy
- the first control point y.secondcontrolpointx
- the second control point x.secondcontrolpointy
- the second control point y.endpointx
- the end point x.endpointy
- the end point y.public void drawbezier(pdfpen pen, double startpointx, double startpointy, double firstcontrolpointx, double firstcontrolpointy, double secondcontrolpointx, double secondcontrolpointy, double endpointx, double endpointy)
pen
- the pen.startpointx
- the start point x.startpointy
- the start point y.firstcontrolpointx
- the first control point x.firstcontrolpointy
- the first control point y.secondcontrolpointx
- the second control point x.secondcontrolpointy
- the second control point y.endpointx
- the end point x.endpointy
- the end point y.public void drawpath(pdfpen pen, pdfpath path)
pen
- the pen.path
- the path.public void drawpath(pdfbrush brush, pdfpath path)
brush
- the brush.path
- the path.public void drawpath(pdfpen pen, pdfbrush brush, pdfpath path)
pen
- the pen.brush
- the brush.path
- the path.public void drawimage(pdfimage image, java.awt.geom.point2d point)
image
- the image.point
- the point.public void drawimage(pdfimage image, float x, float y)
image
- the image.x
- the x.y
- the y.public void drawimage(pdfimage image, double x, double y)
image
- the image.x
- the x.y
- the y.public void drawimage(pdfimage image, java.awt.geom.rectangle2d rectangle)
image
- the image.rectangle
- the rectangle.public void drawimage(pdfimage image, java.awt.geom.point2d point, java.awt.geom.dimension2d size)
image
- the image.point
- the point.size
- the size.public void drawimage(pdfimage image, int compressionquality, java.awt.geom.point2d point, java.awt.geom.dimension2d size)
image
- the image.compressionquality
- the image compresson quality.point
- the point.size
- the size.public void drawimage(pdfimage image, float x, float y, float width, float height)
image
- the image.x
- the x.y
- the y.width
- the width.height
- the height.public void drawimage(pdfimage image, double x, double y, double width, double height)
image
- the image.x
- the x.y
- the y.width
- the width.height
- the height.public void drawimage(pdfimage image, int compressionquality, float x, float y, float width, float height)
image
- the image.compressionquality
- the image compresson quality.x
- the x.y
- the y.width
- the width.height
- the height.public void drawimage(pdfimage image, int compressionquality, double x, double y, double width, double height)
image
- the image.compressionquality
- the image compresson quality.x
- the x.y
- the y.width
- the width.height
- the height.public void drawstring(java.lang.string s, pdffontbase font, pdfbrush brush, java.awt.geom.point2d point)
s
- the text string.font
- the font.brush
- the brush.point
- the location point.public void drawstring(java.lang.string s, pdffontbase font, pdfbrush brush, java.awt.geom.point2d point, pdfstringformat format)
s
- the text string.font
- the font.brush
- the brush.point
- the point.format
- the text string format.public void drawstring(java.lang.string s, pdffontbase font, pdfbrush brush, float x, float y)
s
- the text string.font
- the font.brush
- the brush.x
- the x.y
- the y.public void drawstring(java.lang.string s, pdffontbase font, pdfbrush brush, double x, double y)
s
- the text string.font
- the font.brush
- the brush.x
- the x.y
- the y.public void drawstring(java.lang.string s, pdffontbase font, pdfbrush brush, float x, float y, pdfstringformat format)
s
- the text string.font
- the font.brush
- the brush.x
- the x.y
- the y.format
- the text string format.public void drawstring(java.lang.string s, pdffontbase font, pdfbrush brush, double x, double y, pdfstringformat format)
s
- the text string.font
- the font.brush
- the brush.x
- the x.y
- the y.format
- the text string format.public void drawstring(java.lang.string s, pdffontbase font, pdfpen pen, java.awt.geom.point2d point)
s
- the text string.font
- the font.pen
- the pen.point
- the location point.public void drawstring(java.lang.string s, pdffontbase font, pdfpen pen, java.awt.geom.point2d point, pdfstringformat format)
s
- the text string.font
- the font.pen
- the pen.point
- the point.format
- the text string format.public void drawstring(java.lang.string s, pdffontbase font, pdfpen pen, float x, float y)
s
- the text string.font
- the font.pen
- the pen.x
- the x.y
- the y.public void drawstring(java.lang.string s, pdffontbase font, pdfpen pen, double x, double y)
s
- the text string.font
- the font.pen
- the pen.x
- the x.y
- the y.public void drawstring(java.lang.string s, pdffontbase font, pdfpen pen, float x, float y, pdfstringformat format)
s
- the text string.font
- the font.pen
- the pen.x
- the x.y
- the y.format
- the text string format.public void drawstring(java.lang.string s, pdffontbase font, pdfpen pen, double x, double y, pdfstringformat format)
s
- the text string.font
- the font.pen
- the pen.x
- the x.y
- the y.format
- the text string format.public void drawstring(java.lang.string s, pdffontbase font, pdfpen pen, pdfbrush brush, java.awt.geom.point2d point)
s
- the text string.font
- the font.pen
- the pen.brush
- the brush.point
- the location point.public void drawstring(java.lang.string s, pdffontbase font, pdfpen pen, pdfbrush brush, java.awt.geom.point2d point, pdfstringformat format)
s
- the text string.font
- the font.pen
- the pen.brush
- the brush.point
- the point.format
- the text string format.public void drawstring(java.lang.string s, pdffontbase font, pdfpen pen, pdfbrush brush, float x, float y, pdfstringformat format)
s
- the text string.font
- the font.pen
- the pen.brush
- the brush.x
- the x.y
- the y.format
- the text string format.public void drawstring(java.lang.string s, pdffontbase font, pdfpen pen, pdfbrush brush, double x, double y, pdfstringformat format)
s
- the text string.font
- the font.pen
- the pen.brush
- the brush.x
- the x.y
- the y.format
- the text string format.public void drawstring(java.lang.string s, pdffontbase font, pdfpen pen, pdfbrush brush, float x, float y)
s
- the text string.font
- the font.pen
- the pen.brush
- the brush.x
- the x.y
- the y.public void drawstring(java.lang.string s, pdffontbase font, pdfpen pen, pdfbrush brush, double x, double y)
s
- the text string.font
- the font.pen
- the pen.brush
- the brush.x
- the x.y
- the y.public void drawstring(java.lang.string s, pdffontbase font, pdfbrush brush, java.awt.geom.rectangle2d layoutrectangle)
s
- the text string.font
- the font.brush
- the brush.layoutrectangle
- rectanglef structure that specifies the bounds of the drawn text.public void drawstring(java.lang.string s, pdffontbase font, pdfbrush brush, java.awt.geom.rectangle2d layoutrectangle, pdfstringformat format)
s
- the text string.font
- the font.brush
- the brush.layoutrectangle
- rectanglef structure that specifies the bounds of the drawn text.format
- the text string format.public void drawstring(java.lang.string s, pdffontbase font, pdfpen pen, java.awt.geom.rectangle2d layoutrectangle)
s
- the text string.font
- the font.pen
- the pen.layoutrectangle
- rectanglef structure that specifies the bounds of the drawn text.public void drawstring(java.lang.string s, pdffontbase font, pdfpen pen, java.awt.geom.rectangle2d layoutrectangle, pdfstringformat format)
s
- the text string.font
- the font.pen
- the pen.layoutrectangle
- rectanglef structure that specifies the bounds of the drawn text.format
- the text string format.public void drawformfieldstring(java.lang.string s, pdffontbase font, pdfpen pen, pdfbrush brush, com.spire.ms.system.drawing.rectanglef layoutrectangle, pdfstringformat format)
s
- the text string.font
- the font.pen
- the pen.brush
- the brush.layoutrectangle
- rectanglef structure that specifies the bounds of the drawn text.format
- the text string format.public void drawstring(java.lang.string s, pdffontbase font, pdfpen pen, pdfbrush brush, java.awt.geom.rectangle2d layoutrectangle, pdfstringformat format)
s
- the text string.font
- the font.pen
- the pen.brush
- the brush.layoutrectangle
- rectanglef structure that specifies the bounds of the drawn text.format
- the text string format.public void drawstring(java.lang.string s, pdffontbase font, pdfbrush brush, java.awt.geom.point2d point, boolean htmltags)
s
- the text string.font
- the font.brush
- the brush.point
- the location point.htmltags
- whether the parsing of html tagspublic void drawstring(java.lang.string s, pdffontbase font, pdfbrush brush, java.awt.geom.point2d point, pdfstringformat format, boolean htmltags)
s
- the text string.font
- the font.brush
- the brush.point
- the point.format
- the text string format.htmltags
- whether the parsing of html tagspublic void drawstring(java.lang.string s, pdffontbase font, pdfbrush brush, float x, float y, boolean htmltags)
s
- the text string.font
- the font.brush
- the brush.x
- the x.y
- the y.htmltags
- whether the parsing of html tagspublic void drawstring(java.lang.string s, pdffontbase font, pdfbrush brush, double x, double y, boolean htmltags)
s
- the text string.font
- the font.brush
- the brush.x
- the x.y
- the y.htmltags
- whether the parsing of html tagspublic void drawstring(java.lang.string s, pdffontbase font, pdfbrush brush, float x, float y, pdfstringformat format, boolean htmltags)
s
- the text string.font
- the font.brush
- the brush.x
- the x.y
- the y.format
- the text string format.htmltags
- whether the parsing of html tagspublic void drawstring(java.lang.string s, pdffontbase font, pdfbrush brush, double x, double y, pdfstringformat format, boolean htmltags)
s
- the text string.font
- the font.brush
- the brush.x
- the x.y
- the y.format
- the text string format.htmltags
- whether the parsing of html tagspublic void drawstring(java.lang.string s, pdffontbase font, pdfpen pen, java.awt.geom.point2d point, boolean htmltags)
s
- the text string.font
- the font.pen
- the pen.point
- the location point.htmltags
- whether the parsing of html tagspublic void drawstring(java.lang.string s, pdffontbase font, pdfpen pen, java.awt.geom.point2d point, pdfstringformat format, boolean htmltags)
s
- the text string.font
- the font.pen
- the pen.point
- the point.format
- the text string format.htmltags
- whether the parsing of html tagspublic void drawstring(java.lang.string s, pdffontbase font, pdfpen pen, float x, float y, boolean htmltags)
s
- the text string.font
- the font.pen
- the pen.x
- the x.y
- the y.htmltags
- whether the parsing of html tagspublic void drawstring(java.lang.string s, pdffontbase font, pdfpen pen, double x, double y, boolean htmltags)
s
- the text string.font
- the font.pen
- the pen.x
- the x.y
- the y.htmltags
- whether the parsing of html tagspublic void drawstring(java.lang.string s, pdffontbase font, pdfpen pen, float x, float y, pdfstringformat format, boolean htmltags)
s
- the text string.font
- the font.pen
- the pen.x
- the x.y
- the y.format
- the text string format.htmltags
- whether the parsing of html tagspublic void drawstring(java.lang.string s, pdffontbase font, pdfpen pen, double x, double y, pdfstringformat format, boolean htmltags)
s
- the text string.font
- the font.pen
- the pen.x
- the x.y
- the y.format
- the text string format.htmltags
- whether the parsing of html tagspublic void drawstring(java.lang.string s, pdffontbase font, pdfpen pen, pdfbrush brush, java.awt.geom.point2d point, boolean htmltags)
s
- the text string.font
- the font.pen
- the pen.brush
- the brush.point
- the location point.htmltags
- whether the parsing of html tagspublic void drawstring(java.lang.string s, pdffontbase font, pdfpen pen, pdfbrush brush, java.awt.geom.point2d point, pdfstringformat format, boolean htmltags)
s
- the text string.font
- the font.pen
- the pen.brush
- the brush.point
- the point.format
- the text string format.htmltags
- whether the parsing of html tagspublic void drawstring(java.lang.string s, pdffontbase font, pdfpen pen, pdfbrush brush, float x, float y, pdfstringformat format, boolean htmltags)
s
- the text string.font
- the font.pen
- the pen.brush
- the brush.x
- the x.y
- the y.format
- the text string format.htmltags
- whether the parsing of html tagspublic void drawstring(java.lang.string s, pdffontbase font, pdfpen pen, pdfbrush brush, double x, double y, pdfstringformat format, boolean htmltags)
s
- the text string.font
- the font.pen
- the pen.brush
- the brush.x
- the x.y
- the y.format
- the text string format.htmltags
- whether the parsing of html tagspublic void drawstring(java.lang.string s, pdffontbase font, pdfpen pen, pdfbrush brush, float x, float y, boolean htmltags)
s
- the text string.font
- the font.pen
- the pen.brush
- the brush.x
- the x.y
- the y.htmltags
- whether the parsing of html tagspublic void drawstring(java.lang.string s, pdffontbase font, pdfpen pen, pdfbrush brush, double x, double y, boolean htmltags)
s
- the text string.font
- the font.pen
- the pen.brush
- the brush.x
- the x.y
- the y.htmltags
- whether the parsing of html tagspublic void drawstring(java.lang.string s, pdffontbase font, pdfbrush brush, java.awt.geom.rectangle2d layoutrectangle, boolean htmltags)
s
- the text string.font
- the font.brush
- the brush.layoutrectangle
- rectanglef structure that specifies the bounds of the drawn text.htmltags
- whether the parsing of html tagspublic void drawstring(java.lang.string s, pdffontbase font, pdfbrush brush, java.awt.geom.rectangle2d layoutrectangle, pdfstringformat format, boolean htmltags)
s
- the text string.font
- the font.brush
- the brush.layoutrectangle
- rectanglef structure that specifies the bounds of the drawn text.format
- the text string format.htmltags
- whether the parsing of html tagspublic void drawstring(java.lang.string s, pdffontbase font, pdfpen pen, java.awt.geom.rectangle2d layoutrectangle, boolean htmltags)
s
- the text string.font
- the font.pen
- the pen.layoutrectangle
- rectanglef structure that specifies the bounds of the drawn text.htmltags
- whether the parsing of html tagspublic void drawstring(java.lang.string s, pdffontbase font, pdfpen pen, java.awt.geom.rectangle2d layoutrectangle, pdfstringformat format, boolean htmltags)
s
- the text string.font
- the font.pen
- the pen.layoutrectangle
- rectanglef structure that specifies the bounds of the drawn text.format
- the text string format.htmltags
- whether the parsing of html tagspublic void drawstring(java.lang.string s, pdffontbase font, pdfpen pen, pdfbrush brush, java.awt.geom.rectangle2d layoutrectangle, pdfstringformat format, boolean htmltags)
s
- the text string.font
- the font.pen
- the pen.brush
- the brush.layoutrectangle
- rectanglef structure that specifies the bounds of the drawn text.format
- the text string format.htmltags
- whether the parsing of html tagspublic void translatetransform(double offsetx, double offsety)
public void scaletransform(float scalex, float scaley)
public void scaletransform(double scalex, double scaley)
public void rotatetransform(float angle)
angle
- the angle of the rotation (in degrees).
public void skewtransform(float anglex, float angley)
public void drawtemplate(pdftemplate template, java.awt.geom.point2d location)
template
- object.location
- location of the template.public void drawtemplate(pdftemplate template, java.awt.geom.point2d location, java.awt.geom.dimension2d size)
template
- object.location
- location of the template.size
- size of the template.public pdfgraphicsstate save()
this method works similar to method.
public void restore()
public void restore(pdfgraphicsstate state)
state
- graphicsstate that represents the state to which to restore this graphics.this method works similar to method.
public void settransparency(float alpha)
public void settransparency(double alpha)
public void settransparency(float alphapen, float alphabrush)
alphapen
- the alpha value for pen operations.alphabrush
- the alpha value for brush operations.public void settransparency(double alphapen, double alphabrush)
alphapen
- the alpha value for pen operations.alphabrush
- the alpha value for brush operations.public void settransparency(float alphapen, float alphabrush, pdfblendmode blendmode)
alphapen
- the alpha value for pen operations.alphabrush
- the alpha value for brush operations.blendmode
- the blend mode.public void settransparency(double alphapen, double alphabrush, pdfblendmode blendmode)
alphapen
- the alpha value for pen operations.alphabrush
- the alpha value for brush operations.blendmode
- the blend mode.
|
|||||||||
prev class next class | frames no frames | ||||||||
summary: nested | field | constr | method | detail: field | constr | method |