PathBuilder.Ar

PathBuilder.Ar method

Adds a relative ‘Elliptical Arc Curve’ command to the path data.

public PathBuilder Ar(double r1, double r2, double angle, bool largeArcFlag, bool sweepFlag, 
    double x, double y)
ParameterTypeDescription
r1DoubleThe x-radius of the ellipse, relative to the current position.
r2DoubleThe y-radius of the ellipse, relative to the current position.
angleDoubleThe rotation angle of the ellipse in degrees, relative to the current position.
largeArcFlagBooleanFlag indicating if the arc should be greater than or equal to 180 degrees.
sweepFlagBooleanFlag indicating if the arc should be drawn in a positive angle direction.
xDoubleThe x-coordinate of the end point of the arc, relative to the current position.
yDoubleThe y-coordinate of the end point of the arc, relative to the current position.

Return Value

The current PathBuilder instance.

See Also