Appends a pie shape defined by an ellipse specified by a RectangleF structure and two radial lines to the current path.

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

Syntax

C#
public void AppendPie(
	RectangleF rect,
	PointF first,
	PointF second
)
VB
Public Sub AppendPie ( 
	rect As RectangleF,
	first As PointF,
	second As PointF
)

Parameters

rect
Type: System.Drawing.RectangleF
RectangleF structure that represents the bounding rectangle that defines the ellipse from which the pie shape comes.
first
Type: System.Drawing.PointF
The first radial point.
second
Type: System.Drawing.PointF
The 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 Overload, FillAndStrokePath Overload) do that.

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

See Also