|
|||||||||
| 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.graphics.pdflayoutwidget
com.spire.pdf.graphics.pdfshapewidget
![]()
com.spire.pdf.graphics.pdffillelement
com.spire.pdf.graphics.pdfpath
public class pdfpath
implements graphics path, which is a sequence of primitive graphics elements.
| field summary |
|---|
| fields inherited from class com.spire.pdf.graphics.pdflayoutwidget |
|---|
beginpagelayout |
| constructor summary | |
|---|---|
pdfpath()
initializes a new instance of the class. |
|
pdfpath(pdfbrush brush)
initializes a new instance of the class. |
|
pdfpath(pdfbrush brush,
pdffillmode fillmode)
initializes a new instance of the class. |
|
pdfpath(pdfbrush brush,
pdffillmode fillmode,
java.awt.geom.point2d[] points,
java.lang.byte[] pathtypes)
initializes a new instance of the class. |
|
pdfpath(pdfpen pen)
initializes a new instance of the class. |
|
pdfpath(pdfpen pen,
pdfbrush brush,
pdffillmode fillmode)
initializes a new instance of the class. |
|
pdfpath(pdfpen pen,
java.awt.geom.point2d[] points,
java.lang.byte[] pathtypes)
initializes a new instance of the class. |
|
pdfpath(java.awt.geom.point2d[] points,
java.lang.byte[] pathtypes)
initializes a new instance of the class. |
|
| method summary | |
|---|---|
void |
addarc(double x,
double y,
double width,
double height,
double startangle,
double sweepangle)
adds an arc. |
void |
addarc(java.awt.geom.rectangle2d rectangle,
float startangle,
float sweepangle)
adds an arc. |
void |
addbezier(java.awt.geom.point2d startpoint,
java.awt.geom.point2d firstcontrolpoint,
java.awt.geom.point2d secondcontrolpoint,
java.awt.geom.point2d endpoint)
adds a bezier curve. |
void |
addellipse(java.awt.geom.rectangle2d rectangle)
adds an ellipse. |
void |
addline(double x1,
double y1,
double x2,
double y2)
adds a line. |
void |
addline(java.awt.geom.point2d point1,
java.awt.geom.point2d point2)
adds a line. |
void |
addpie(java.awt.geom.rectangle2d rectangle,
float startangle,
float sweepangle)
appends the pie to this path. |
void |
addpolygon(java.awt.geom.point2d[] points)
append the closed polygon to this path. |
void |
addrectangle(java.awt.geom.rectangle2d rectangle)
appends the rectangle to this path. |
void |
setfillmode(pdffillmode value)
sets the fill mode. |
| methods inherited from class com.spire.pdf.graphics.pdfshapewidget |
|---|
getbounds |
| methods inherited from class com.spire.pdf.graphics.pdflayoutwidget |
|---|
draw, draw, draw, draw, draw, draw |
| methods inherited from class com.spire.pdf.graphics.pdfgraphicswidget |
|---|
draw, draw, draw |
| constructor detail |
|---|
public pdfpath()
public pdfpath(java.awt.geom.point2d[] points,
java.lang.byte[] pathtypes)
points - the points.pathtypes - the path types.public pdfpath(pdfpen pen)
pen - the pen.public pdfpath(pdfbrush brush)
brush - the brush.public pdfpath(pdfbrush brush,
pdffillmode fillmode)
brush - the brush.fillmode - the fill mode.public pdfpath(pdfpen pen,
java.awt.geom.point2d[] points,
java.lang.byte[] pathtypes)
pen - the pen.points - the points.pathtypes - the path types.public pdfpath(pdfbrush brush,
pdffillmode fillmode,
java.awt.geom.point2d[] points,
java.lang.byte[] pathtypes)
brush - the brush.fillmode - the fill mode.points - the points.pathtypes - the path types.public pdfpath(pdfpen pen,
pdfbrush brush,
pdffillmode fillmode)
pen - the pen.brush - the brush.fillmode - the fill mode.| method detail |
|---|
public void setfillmode(pdffillmode value)
public void addarc(java.awt.geom.rectangle2d rectangle,
float startangle,
float sweepangle)
rectangle - the boundaries of the arc.startangle - the start angle.sweepangle - the sweep angle.public void addarc(double x,
double y,
double width,
double height,
double startangle,
double sweepangle)
x - the x.y - the y.width - the width.height - the height.startangle - the start angle.sweepangle - the sweep angle.public void addbezier(java.awt.geom.point2d startpoint,
java.awt.geom.point2d firstcontrolpoint,
java.awt.geom.point2d secondcontrolpoint,
java.awt.geom.point2d endpoint)
startpoint - the start point.firstcontrolpoint - the first control point.secondcontrolpoint - the second control point.endpoint - the end point.public void addellipse(java.awt.geom.rectangle2d rectangle)
rectangle - the boundaries of the ellipse.public void addline(java.awt.geom.point2d point1,
java.awt.geom.point2d point2)
point1 - the point1.point2 - the point2.public void addline(double x1,
double y1,
double x2,
double y2)
x1 - the x1.y1 - the y1.x2 - the x2.y2 - the y2.public void addpie(java.awt.geom.rectangle2d rectangle,
float startangle,
float sweepangle)
rectangle - the rectangle.startangle - the start angle.sweepangle - the sweep angle.public void addpolygon(java.awt.geom.point2d[] points)
points - the points of the polygon.public void addrectangle(java.awt.geom.rectangle2d rectangle)
rectangle - the rectangle.
|
|||||||||
| prev class next class | frames no frames | ||||||||
| summary: nested | field | constr | method | detail: field | constr | method | ||||||||