Skip to content

PdfPath.AddArc Method

AddArc(Double,Double,Double,Double,Double,Double)

Adds an arc to path.

C#
public void AddArc(double left, double top, double width, double height, double startAngle, double sweepAngle)

Parameters

left Double

x position of rectangle's top left corner.

top Double

y position of rectangle's top left corner.

width Double

The rectangle width.

height Double

The rectangle height.

startAngle Double

Angle in degrees measured clockwise from the x-axis to the starting point of the arc.

sweepAngle Double

Angle in degrees measured clockwise from the startAngle parameter to ending point of the arc.

Remarks

The arc defines an open subpath.