Search
IGraphics.FillPie Method (Brush, Single, Single, Single, Single, Single, Single)
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
Package: MindFusion.Common

 Syntax

C#  Copy Code

void FillPie (
    Brush brush,
    float x,
    float y,
    float width,
    float height,
    float startAngle,
    float sweepAngle
)

Visual Basic  Copy Code

Sub FillPie( _
    brush As Brush, _
    x As Single, _
    y As Single, _
    width As Single, _
    height As Single, _
    startAngle As Single, _
    sweepAngle As Single _
)

 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