Fills a circular or elliptical arc covering the specified
rectangle.
Namespace:
Imsl.Chart2D
Assembly:
ImslCS (in ImslCS.dll) Version: 6.5.0.0
Syntax
C# |
---|
public virtual void FillArc( int x, int y, int width, int height, int startAngle, int arcAngle ) |
Visual Basic (Declaration) |
---|
Public Overridable Sub FillArc ( _ x As Integer, _ y As Integer, _ width As Integer, _ height As Integer, _ startAngle As Integer, _ arcAngle As Integer _ ) |
Visual C++ |
---|
public: virtual void FillArc( int x, int y, int width, int height, int startAngle, int arcAngle ) |
Parameters
- x
- Type: System..::.Int32
An int which specifies the x-coordinate of the upper-left corner of the rectangular region that defines the ellipse from which the arc is drawn.
- y
- Type: System..::.Int32
An int which specifies the y-coordinate of the upper-left corner of the rectangular region that defines the ellipse from which the arc is drawn.
- width
- Type: System..::.Int32
An int which specifies the width of the rectangular region that defines the ellipse from which the arc is drawn.
- height
- Type: System..::.Int32
An int which specifies the height of the rectangular region that defines the ellipse from which the arc is drawn.
- startAngle
- Type: System..::.Int32
An int which specifies the starting angle of the arc, measured in degrees clockwise from the x-axis.
- arcAngle
- Type: System..::.Int32
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.