Skip to content

PdfPath.AddArcFromCurrentPoint Method

AddArcFromCurrentPoint(Double,Double,Double,Double,Double,Double,Boolean)

Adds an arc to path, used only for drawing clouds.

C#
public void AddArcFromCurrentPoint(double left, double top, double width, double height, double startAngle, double sweepAngle, bool fromCurrentPoint)

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.

fromCurrentPoint Boolean

True if the arc starts from current path point.

Remarks

The arc defines an open subpath.