Method AppendPie
- Namespace
- BitMiracle.Docotic.Pdf
- Assembly
- BitMiracle.Docotic.Pdf.dll
AppendPie(PdfRectangle, PdfPoint, PdfPoint)
Appends a pie shape defined by an ellipse specified by a PdfRectangle structure and two radial lines to the current path.
public void AppendPie(PdfRectangle rect, PdfPoint first, PdfPoint second)
Parameters
rect
PdfRectanglePdfRectangle structure that represents the bounding rectangle that defines the ellipse from which the pie shape comes.
first
PdfPointThe first radial point.
second
PdfPointThe second radial point.
Remarks
This method appends a pie shape defined by an arc of an ellipse and
the two radial lines that intersect with the endpoints of the arc to
the current path.
Note that the call to this method does not place any marks on the
canvas; only the painting operators (StrokePath(),
CloseAndStrokePath(), FillPath,
FillAndStrokePath) do that.
Please use
DrawPie
if you want to draw a pie immediately.
AppendPie(PdfRectangle, double, double)
Appends a pie shape defined by an ellipse specified by a PdfRectangle structure and two radial lines to the current path.
public void AppendPie(PdfRectangle rect, double startAngle, double sweepAngle)
Parameters
rect
PdfRectanglePdfRectangle structure that represents the bounding rectangle that defines the ellipse from which the pie shape comes.
startAngle
doubleAngle measured in degrees clockwise from the x-axis to the first side of the pie shape.
sweepAngle
doubleAngle measured in degrees clockwise from the
startAngle
parameter to the second side of the pie shape.
Remarks
This method appends a pie shape defined by an arc of an ellipse and
the two radial lines that intersect with the endpoints of the arc to
the current path.
Note that the call to this method does not place any marks on the
canvas; only the painting operators (StrokePath(),
CloseAndStrokePath(), FillPath,
FillAndStrokePath) do that.
Please use
DrawPie
if you want to draw a pie immediately.