GraphicsCache.DrawPie(Pen, RectangleF, Single, Single) Method
In This Article
Draws a pie shape defined by an ellipse specified by a RectangleF structure and two radial lines.
Namespace: DevExpress.Utils.Drawing
Assembly: DevExpress.Utils.v24.2.dll
NuGet Packages: DevExpress.Utils, DevExpress.Wpf.Core
#Declaration
public void DrawPie(
Pen pen,
RectangleF rect,
float startAngle,
float sweepAngle
)
#Parameters
Name | Type | Description |
---|---|---|
pen | Pen | Pen that determines the color, width, and style of the pie shape. |
rect | Rectangle |
Rectangle |
start |
Single | Angle measured in degrees clockwise from the x-axis to the first side of the pie shape. |
sweep |
Single | Angle measured in degrees clockwise from the start |
See Also