Skip to main content
All docs
V24.2

DXGraphics.DrawArc(DXPen, RectangleF, Single, Single) Method

In This Article

Draws an arc specified by a rectangle.

Namespace: DevExpress.Drawing

Assembly: DevExpress.Drawing.v24.2.dll

NuGet Package: DevExpress.Drawing

#Declaration

public void DrawArc(
    DXPen pen,
    RectangleF bounds,
    float startAngle,
    float sweepAngle
)

#Parameters

Name Type Description
pen DXPen

An object that determines the color, width, and style of the arc.

bounds RectangleF

A rectangle that defines the ellipsis bounds.

startAngle Single

Angle in degrees measured clockwise from the x-axis to the starting point of the arc.

sweepAngle Single

Angle in degrees measured clockwise from the startAngle parameter to ending point of the arc.

See Also