Charting for WinForms Programmer's Guide
GdiGraphics.FillPie Method (Brush, Int32, Int32, Int32, Int32, Int32, Int32)
See Also
 






Fills the interior of a pie section defined by an ellipse specified by a pair of coordinates, a width, and a height and two radial lines.

Namespace: MindFusion.Drawing
Assembly: MindFusion.Common

 Syntax

C#  Copy Code

public virtual void FillPie (
    Brush brush,
    int x,
    int y,
    int width,
    int height,
    int startAngle,
    int sweepAngle
)

Visual Basic  Copy Code

Public Overridable Sub FillPie( _
    brush As Brush, _
    x As Integer, _
    y As Integer, _
    width As Integer, _
    height As Integer, _
    startAngle As Integer, _
    sweepAngle As Integer _
)

 Parameters

brush
A .NET Brush object that determines the characteristics of the fill.
x
The x-coordinate of the upper-left corner of the bounding rectangle that defines the ellipse from which the pie section comes.
y
The y-coordinate of the upper-left corner of the bounding rectangle that defines the ellipse from which the pie section comes.
width
The width of the bounding rectangle that defines the ellipse from which the pie section comes.
height
The height of the bounding rectangle that defines the ellipse from which the pie section comes.
startAngle
The angle in degrees measured clockwise from the x-axis to the first side of the pie section.
sweepAngle
The angle in degrees measured clockwise from the startAngle parameter to the second side of the pie section.

 See Also

FillPie Method Overload List
GdiGraphics Members
GdiGraphics Class
MindFusion.Drawing Namespace