Docotic.Pdf Library Help > BitMiracle.Docotic.Pdf > PdfCanvas Class > PdfCanvas Methods > AppendArc Method > AppendArc Method (PdfPoint, Double, Double, Double, Double)
Appends a straight line segment and an arc representing a portion of an ellipse specified by radius and center to the current path.

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


public void AppendArc(
	PdfPoint center,
	double radiusX,
	double radiusY,
	double startAngle,
	double sweepAngle
Public Sub AppendArc ( 
	center As PdfPoint,
	radiusX As Double,
	radiusY As Double,
	startAngle As Double,
	sweepAngle As Double


Type: BitMiracle.Docotic.Pdf.PdfPoint
The center of the ellipse.
Type: System.Double
The radius of the ellipse measured along the x-axis.
Type: System.Double
The radius of the ellipse measured along the y-axis.
Type: System.Double
The start angle of the arc in degrees.
Type: System.Double
The sweep angle of the arc in degrees.


The line segment is added from the CurrentPosition to the beginning of the arc. The arc extends along the perimeter of an ellipse with the given radius and center. The length of the arc is defined by the given start and sweep angles.

Note that the call to this method does not place any marks on the canvas; only the painting operators (StrokePath(), CloseAndStrokePath(), FillPath(), FillAndStrokePath()) do that.

Please use DrawArc() if you want to draw an arc immediately.

See Also