Skip to main content
All docs
V24.1

DXGraphicsPath.AddPie(Single, Single, Single, Single, Single, Single) Method

Adds the outline of a pie shape to this path.

Namespace: DevExpress.Drawing

Assembly: DevExpress.Drawing.v24.1.dll

NuGet Package: DevExpress.Drawing

Declaration

public void AddPie(
    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 pie shape bounds.

y Single

The y-coordinate of the rectangle’s upper-left corner. The rectangle defines the pie shape bounds.

width Single

The width of the pie shape’s bounding rectangle.

height Single

The height of the pie shape’s bounding rectangle.

startAngle Single

The starting angle for the pie section, measured in degrees clockwise from the x-axis.

sweepAngle Single

The angle between startAngle and the end of the pie section, measured in degrees clockwise from startAngle.

See Also