Search
IGraphics.FillPie Method (Brush, Rectangle, Single, Single)
See Also
 





Fills the interior of a pie section defined by an ellipse specified by a RectangleF structure and two radial lines.

Namespace: MindFusion.Drawing
Assembly: MindFusion.Common

 Syntax

C#  Copy Code

void FillPie (
    Brush brush,
    Rectangle rect,
    float startAngle,
    float sweepAngle
)

Visual Basic  Copy Code

Sub FillPie( _
    brush As Brush, _
    rect As Rectangle, _
    startAngle As Single, _
    sweepAngle As Single _
)

 Parameters

brush
A .NET Brush object that determines the characteristics of the fill.
rect
A .NET Rectangle structure that represents 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