PdfCanvas.AppendPie Method (PdfRectangle, PdfPoint, PdfPoint)

Docotic.Pdf library help > BitMiracle.Docotic.Pdf > PdfCanvas Class > PdfCanvas Methods > AppendPie Method > AppendPie Method (PdfRectangle, PdfPoint, PdfPoint)
Appends a pie shape defined by an ellipse specified by a PdfRectangle structure and two radial lines to the current path.

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


public void AppendPie(
	PdfRectangle rect,
	PdfPoint first,
	PdfPoint second
Public Sub AppendPie ( 
	rect As PdfRectangle,
	first As PdfPoint,
	second As PdfPoint


Type: BitMiracle.Docotic.Pdf.PdfRectangle
PdfRectangle structure that represents the bounding rectangle that defines the ellipse from which the pie shape comes.
Type: BitMiracle.Docotic.Pdf.PdfPoint
The first radial point.
Type: BitMiracle.Docotic.Pdf.PdfPoint
The second radial point.


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(PdfFillMode), FillAndStrokePath(PdfFillMode)) do that.

Please use DrawPie() if you want to draw a pie immediately.

See Also