Draws the outline of a circular or elliptical arc covering the
specified rectangle.
Namespace: Imsl.Chart2DAssembly: ImslCS (in ImslCS.dll) Version: 6.5.2.0
Syntax public virtual void DrawArc(
int x,
int y,
int width,
int height,
int startAngle,
int arcAngle
)
Public Overridable Sub DrawArc (
x As Integer,
y As Integer,
width As Integer,
height As Integer,
startAngle As Integer,
arcAngle As Integer
)
public:
virtual void DrawArc(
int x,
int y,
int width,
int height,
int startAngle,
int arcAngle
)
abstract DrawArc :
x : int *
y : int *
width : int *
height : int *
startAngle : int *
arcAngle : int -> unit
override DrawArc :
x : int *
y : int *
width : int *
height : int *
startAngle : int *
arcAngle : int -> unit
Parameters
- x
- Type: SystemInt32
An int which contains the x-coordinate of the upper-left
corner of the rectangle that defines the ellipse.
- y
- Type: SystemInt32
An int which contains the y-coordinate of the upper-left
corner of the rectangle that defines the ellipse.
- width
- Type: SystemInt32
An int which contains the width of the rectangle that
defines the ellipse.
- height
- Type: SystemInt32
An int which contains the height of the rectangle that
defines the ellipse.
- startAngle
- Type: SystemInt32
An int which specifies the angle in degrees measured
clockwise from the x-axis to the starting point of the arc.
- arcAngle
- Type: SystemInt32
An int which specifies an angle in degrees measured
counter-clockwise from the startAngle parameter
to the ending point of the arc.
Remarks
The center of the arc is center of this rectangle.
startAngle = 0 is equivalent to the 3-o'clock
position.
DrawArc draws the arc from startAngle to startAngle+arcAngle. A positive arcAngle indicates a
counter-clockwise rotation. A negative arcAngle
implies a clockwise rotation.
See Also