Dundas Chart for ASP.NET
DrawArc(Pen,Single,Single,Single,Single,Single,Single) Method
See Also  Send comments on this topic.
Dundas.Charting.WebControl.Svg Namespace > SvgChartGraphics Class > DrawArc Method : DrawArc(Pen,Single,Single,Single,Single,Single,Single) Method


pen
Pen object that determines the color, width, and style of the arc.
x
x-coordinate of the upper-left corner of the rectangle that defines the ellipse.
y
y-coordinate of the upper-left corner of the rectangle that defines the ellipse.
width
Width of the rectangle that defines the ellipse.
height
Height of the rectangle that defines the ellipse.
startAngle
Angle in degrees measured clockwise from the x-axis to the starting point of the arc.
sweepAngle
Angle in degrees measured clockwise from the startAngle parameter to ending point of the arc.
Draws an arc representing a portion of an ellipse specified by a pair of coordinates, a width, and a height.

Syntax

Visual Basic (Declaration)  
Public Overloads Sub DrawArc( _
   ByVal pen As Pen, _
   ByVal x As Single, _
   ByVal y As Single, _
   ByVal width As Single, _
   ByVal height As Single, _
   ByVal startAngle As Single, _
   ByVal sweepAngle As Single _
) 
Visual Basic (Usage) Copy Code
Dim instance As SvgChartGraphics
Dim pen As Pen
Dim x As Single
Dim y As Single
Dim width As Single
Dim height As Single
Dim startAngle As Single
Dim sweepAngle As Single
 
instance.DrawArc(pen, x, y, width, height, startAngle, sweepAngle)
C#  
public void DrawArc( 
   Pen pen,
   float x,
   float y,
   float width,
   float height,
   float startAngle,
   float sweepAngle
)

Parameters

pen
Pen object that determines the color, width, and style of the arc.
x
x-coordinate of the upper-left corner of the rectangle that defines the ellipse.
y
y-coordinate of the upper-left corner of the rectangle that defines the ellipse.
width
Width of the rectangle that defines the ellipse.
height
Height of the rectangle that defines the ellipse.
startAngle
Angle in degrees measured clockwise from the x-axis to the starting point of the arc.
sweepAngle
Angle in degrees measured clockwise from the startAngle parameter to ending point of the arc.

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

Copyright © 2001 - 2009 Dundas Data Visualization, Inc. and others.