Dundas Chart for Windows Forms
FillPie Method
See Also  Send comments on this topic.
DundasWinChart Assembly > Dundas.Charting.WinControl.Svg Namespace > SvgRendering Class : FillPie Method


rect
Rectangle structure that represents the bounding rectangle that defines the ellipse from which the pie shape comes.
startAngle
Angle measured in degrees clockwise from the x-axis to the first side of the pie shape.
sweepAngle
Angle measured in degrees clockwise from the startAngle parameter to the second side of the pie shape.
Fill a pie shape defined by an ellipse specified by a Rectangle structure and two radial lines.

Syntax

Visual Basic (Declaration)  
Public Sub FillPie( _
   ByVal rect As RectangleF, _
   ByVal startAngle As Single, _
   ByVal sweepAngle As Single _
) 
Visual Basic (Usage) Copy Code
Dim instance As SvgRendering
Dim rect As RectangleF
Dim startAngle As Single
Dim sweepAngle As Single
 
instance.FillPie(rect, startAngle, sweepAngle)
C#  
public void FillPie( 
   RectangleF rect,
   float startAngle,
   float sweepAngle
)

Parameters

rect
Rectangle structure that represents the bounding rectangle that defines the ellipse from which the pie shape comes.
startAngle
Angle measured in degrees clockwise from the x-axis to the first side of the pie shape.
sweepAngle
Angle measured in degrees clockwise from the startAngle parameter to the second side of the pie shape.

Requirements

Target Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family

See Also

© 2009 All Rights Reserved.