Skip to main content
All docs
V24.1

DXGraphicsPath.AddArc(Single, Single, Single, Single, Single, Single) Method

Appends an elliptical arc to the current figure.

Namespace: DevExpress.Drawing

Assembly: DevExpress.Drawing.v24.1.dll

NuGet Package: DevExpress.Drawing

Declaration

public void AddArc(
    float x,
    float y,
    float width,
    float height,
    float startAngle,
    float sweepAngle
)

Parameters

Name Type Description
x Single

The x-coordinate of the rectangle’s upper-left corner. The rectangle defines the arc ellipse.

y Single

The y-coordinate of the rectangle’s upper-left corner. The rectangle defines the arc ellipse.

width Single

The width of the rectangle. The rectangle defines the ellipse from which the arc is drawn.

height Single

The height of the rectangle. The rectangle defines the ellipse from which the arc is drawn.

startAngle Single

The starting angle of the arc, measured in degrees clockwise from the x-axis.

sweepAngle Single

The angle between startAngle and the end of the arc.

See Also