Version

AddPie Method

Adds the outline of a pie shape to this path.
Syntax
'Declaration
 
Public Sub AddPie( _
   ByVal x As Single, _
   ByVal y As Single, _
   ByVal width As Single, _
   ByVal height As Single, _
   ByVal startAngle As Single, _
   ByVal sweepAngle As Single _
) 
public void AddPie( 
   float x,
   float y,
   float width,
   float height,
   float startAngle,
   float sweepAngle
)

Parameters

x
The x-coordinate of the upper-left corner of the bounding rectangle that defines the ellipse from which the pie is drawn.
y
The y-coordinate of the upper-left corner of the bounding rectangle that defines the ellipse from which the pie is drawn.
width
The width of the bounding rectangle that defines the ellipse from which the pie is drawn.
height
The height of the bounding rectangle that defines the ellipse from which the pie is drawn.
startAngle
The starting angle for the pie section, measured in degrees clockwise from the x-axis.
sweepAngle
The angle between startAngle and the end of the pie section, measured in degrees clockwise from startAngle.
Requirements

Target Platforms: Windows 10, Windows 8.1, Windows 8, Windows 7, Windows Server 2012, Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also