# R2 - DrawArc

void R2::DrawArc(double x,
double y,
double width,
double height,
double startAngle,
double sweepAngle);

This method draws an elliptic arc.

## Parameters

double x

The x-coordinate of the upper-left corner of the bounding rectangle of the ellipse that contains the arc.

double y

The y-coordinate of the upper-left corner of the bounding rectangle of the ellipse that contains the arc.

double width

The width of the ellipse that contains the arc.

double height

The height of the ellipse that contains the arc.

double startAngle

The angle between the x-axis and the starting point of the arc.

double sweepAngle

The angle between the starting and ending points of the arc.