Method DrawPie
- Namespace
- BitMiracle.Docotic.Pdf
- Assembly
- BitMiracle.Docotic.Pdf.dll
DrawPie(PdfRectangle, PdfPoint, PdfPoint)
Draws a pie shape defined by an ellipse specified by a PdfRectangle structure and two radial lines.
public void DrawPie(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 draws a non-filled pie shape defined by an arc of an
ellipse and the two radial lines that intersect with the endpoints
of the arc.
Please use
AppendPie
if you want to append a pie shape to the current path.
DrawPie(PdfRectangle, PdfPoint, PdfPoint, PdfDrawMode)
Draws a pie shape defined by an ellipse specified by a PdfRectangle structure and two radial lines.
public void DrawPie(PdfRectangle rect, PdfPoint first, PdfPoint second, PdfDrawMode mode)
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.
mode
PdfDrawModeThe drawing mode.
Remarks
This method draws a pie shape defined by an arc of an ellipse and
the two radial lines that intersect with the endpoints of
the arc.
Please use
AppendPie
if you want to append a pie shape to the current path.
DrawPie(PdfRectangle, double, double)
Draws a pie shape defined by an ellipse specified by a PdfRectangle structure and two radial lines.
public void DrawPie(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 draws a non-filled pie shape defined by an arc of an
ellipse and the two radial lines that intersect with the endpoints
of the arc.
Please use
AppendPie
if you want to append a pie shape to the current path.
DrawPie(PdfRectangle, double, double, PdfDrawMode)
Draws a pie shape defined by an ellipse specified by a PdfRectangle structure and two radial lines.
public void DrawPie(PdfRectangle rect, double startAngle, double sweepAngle, PdfDrawMode mode)
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.mode
PdfDrawModeThe drawing mode.
Remarks
This method draws a pie shape defined by an arc of an
ellipse and the two radial lines that intersect with the endpoints
of the arc.
Please use
AppendPie
if you want to append a pie shape to the current path.