AddArc()

GraphicsPath::AddArc(float, float, float, float, float, float) method

Adds the specified elliptical arc to the path represented by the current object.

void System::Drawing::Drawing2D::GraphicsPath::AddArc(float x, float y, float width, float height, float startAngle, float sweepAngle)

Arguments

ParameterTypeDescription
xfloatThe X coordinate of the upper left corner of the rectangle that bounds the ellipse from which the arc is drawn
yfloatThe Y coordinate of the upper left corner of the rectangle that bounds the ellipse from which the arc is drawn
widthfloatThe width of the upper left corner of the rectangle that bounds the ellipse from which the arc is drawn
heightfloatThe height of the upper left corner of the rectangle that bounds the ellipse from which the arc is drawn
startAnglefloatSpecifies the starting angle of the arc in degrees, measured clockwise from the X-axis
sweepAnglefloatSpecifies the angle between the starting angle and the end of the arc

GraphicsPath::AddArc(int, int, int, int, float, float) method

Adds the specified elliptical arc to the path represented by the current object.

void System::Drawing::Drawing2D::GraphicsPath::AddArc(int x, int y, int width, int height, float startAngle, float sweepAngle)

Arguments

ParameterTypeDescription
xintThe X coordinate of the upper left corner of the rectangle that bounds the ellipse from which the arc is drawn
yintThe Y coordinate of the upper left corner of the rectangle that bounds the ellipse from which the arc is drawn
widthintThe width of the upper left corner of the rectangle that bounds the ellipse from which the arc is drawn
heightintThe height of the upper left corner of the rectangle that bounds the ellipse from which the arc is drawn
startAnglefloatSpecifies the starting angle of the arc in degrees, measured clockwise from the X-axis
sweepAnglefloatSpecifies the angle between the starting angle and the end of the arc

GraphicsPath::AddArc(const RectangleF&, float, float) method

Adds the specified elliptical arc to the path represented by the current object.

void System::Drawing::Drawing2D::GraphicsPath::AddArc(const RectangleF &rect, float startAngle, float sweepAngle)

Arguments

ParameterTypeDescription
rectconst RectangleF&The rectangle that bounds the ellipse from which the arc is drawn
startAnglefloatSpecifies the starting angle of the arc in degrees, measured clockwise from the X-axis
sweepAnglefloatSpecifies the angle between the starting angle and the end of the arc

GraphicsPath::AddArc(const Rectangle&, float, float) method

Adds the specified elliptical arc to the path represented by the current object.

void System::Drawing::Drawing2D::GraphicsPath::AddArc(const Rectangle &rect, float startAngle, float sweepAngle)

Arguments

ParameterTypeDescription
rectconst Rectangle&The rectangle that bounds the ellipse from which the arc is drawn
startAnglefloatSpecifies the starting angle of the arc in degrees, measured clockwise from the X-axis
sweepAnglefloatSpecifies the angle between the starting angle and the end of the arc

See Also