Docotic.Pdf Library Help > BitMiracle.Docotic.Pdf > PdfCanvas Class > PdfCanvas Methods > DrawArc Method > DrawArc Method (RectangleF, PointF, PointF, Boolean)
Draws an arc representing a portion of an ellipse specified by RectangleF structure, two radial endpoints and a direction.

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

Syntax

C#
public void DrawArc(
	RectangleF rect,
	PointF first,
	PointF second,
	bool clockwise
)
VB
Public Sub DrawArc ( 
	rect As RectangleF,
	first As PointF,
	second As PointF,
	clockwise As Boolean
)

Parameters

rect
Type: System.Drawing.RectangleF
RectangleF structure that defines the boundaries of the arc.
first
Type: System.Drawing.PointF
The first radial endpoint.
second
Type: System.Drawing.PointF
The second radial endpoint.
clockwise
Type: System.Boolean
if set to true then the arc extends in a clockwise direction; otherwise, the arc extends in a counter-clockwise direction.

Remarks

Please use AppendArc Overload if you want to append an arc to the current path.

See Also