Version

Wedge Constructor(Point,Int32,Single,Single)

Creates new Wedge with the given parameters.
Syntax
'Declaration
 
Public Function New( _
   ByVal location As Point, _
   ByVal radius As Integer, _
   ByVal startAngle As Single, _
   ByVal angleSweep As Single _
)
public Wedge( 
   Point location,
   int radius,
   float startAngle,
   float angleSweep
)

Parameters

location
Center point of wege.
radius
Radius of wedge.
startAngle
Starting angle (in degrees).
angleSweep
Sweep angle (in degrees).
Remarks

The arc is drawn from startingAngle to (startingAngle + sweepAngle). The startingAngle is measured clockwise from a 3 o'clock position.

To create a doughnut sector instead of a pie slice, set the RadiusInner property.

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