Glossary Item Box

LabDevTools Send comments on this topic.

DrawArc Method

Draws an arc representing a portion of an ellipse specified by a RectangleF structure.

 

[Visual Basic]
Public Sub DrawArc(ByVal rect As RectangleF, ByVal startAngle As Single, ByVal sweepAngle As Single, ByVal Color As Color)
  
[C#]
public void DrawArc(RectangleF rect, float startAngle, float sweepAngle, Color Color);

    Parameters:

rect
Struttura RectangleF che definisce i limiti dell'ellisse.
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.
Color
    Color with which it comes drawn the arc.

    Return value:

None.

See also:

Clear | DrawClosedSpline | DrawEllipse | DrawLines | DrawPath | DrawPoint | DrawPolygon | DrawRectangle | DrawSpline | FillClosedSpline | FillEllipse | FillPath | FillPolygon | FillRectangle | SavePicture

 


Copyright © 2007 LabDevTools. All Rights Reserved.