PdfCanvas.DrawPie Method (PdfRectangle, PdfPoint, PdfPoint)

Docotic.Pdf library help > BitMiracle.Docotic.Pdf > PdfCanvas Class > PdfCanvas Methods > DrawPie Method > DrawPie Method (PdfRectangle, PdfPoint, PdfPoint)
Draws a pie shape defined by an ellipse specified by a PdfRectangle structure and two radial lines.

Namespace:  BitMiracle.Docotic.Pdf
Assembly:  BitMiracle.Docotic.Pdf (in BitMiracle.Docotic.Pdf.dll)

Syntax

C#
public void DrawPie(
	PdfRectangle rect,
	PdfPoint first,
	PdfPoint second
)
VB
Public Sub DrawPie ( 
	rect As PdfRectangle,
	first As PdfPoint,
	second As PdfPoint
)

Parameters

rect
Type: BitMiracle.Docotic.Pdf.PdfRectangle
PdfRectangle structure that represents the bounding rectangle that defines the ellipse from which the pie shape comes.
first
Type: BitMiracle.Docotic.Pdf.PdfPoint
The first radial point.
second
Type: BitMiracle.Docotic.Pdf.PdfPoint
The 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.

See Also