Visual Basic (Declaration) | |
---|---|
Sub DrawArc( _ ByVal cornerPen As Pen, _ ByVal x As Single, _ ByVal y As Single, _ ByVal width As Integer, _ ByVal height As Integer, _ ByVal startAngle As Integer, _ ByVal sweepAngle As Integer _ ) |
Visual Basic (Usage) | Copy Code |
---|---|
Dim instance As IBorderGraphics Dim cornerPen As Pen Dim x As Single Dim y As Single Dim width As Integer Dim height As Integer Dim startAngle As Integer Dim sweepAngle As Integer instance.DrawArc(cornerPen, x, y, width, height, startAngle, sweepAngle) |
C# | |
---|---|
void DrawArc( Pen cornerPen, float x, float y, int width, int height, int startAngle, int sweepAngle ) |
Parameters
- cornerPen
- Corner pen
- x
- X coordinate
- y
- Y coordinate
- width
- Width
- height
- Height
- startAngle
- Start angle
- sweepAngle
- Sweep angle
Target Platforms: 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