Docotic.Pdf Library Help > BitMiracle.Docotic.Pdf > PdfCanvas Class > PdfCanvas Methods > AppendArc Method > AppendArc Method (PdfRectangle, PdfPoint, PdfPoint)
Appends an arc representing a portion of an ellipse specified by PdfRectangle structure and two radial endpoints to the current path.

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

Syntax

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

Parameters

rect
Type: BitMiracle.Docotic.Pdf.PdfRectangle
PdfRectangle structure that defines the boundaries of the arc.
first
Type: BitMiracle.Docotic.Pdf.PdfPoint
The first radial endpoint.
second
Type: BitMiracle.Docotic.Pdf.PdfPoint
The second radial endpoint.

Remarks

The arc extends in a counter-clockwise direction.

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 DrawArc Overload if you want to draw an arc immediately.

See Also