PdfCanvas.DrawArc Method (PdfRectangle, PdfPoint, PdfPoint)

Docotic.Pdf library help > BitMiracle.Docotic.Pdf > PdfCanvas Class > PdfCanvas Methods > DrawArc Method > DrawArc Method (PdfRectangle, PdfPoint, PdfPoint)
Draws an arc representing a portion of an ellipse specified by PdfRectangle structure and two radial endpoints.

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

Syntax

C#
public void DrawArc(
	PdfRectangle rect,
	PdfPoint first,
	PdfPoint second
)
VB
Public Sub DrawArc ( 
	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.

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

See Also