| MobileForms Toolkit Documentation |
|
GraphicsEx.DrawArc Method (Graphics, Pen, Single, Single, Single, Single, Single, Single, Boolean)
Draws an arc representing a portion of an ellipse specified by a pair of coordinates, a width, and a height.
Parameters
-
gr
-
Graphics to use.
-
pen
-
Pen that determines the color, width, and style of the arc.
-
x
- The x-coordinate of the upper-left corner of the rectangle that defines the ellipse.
-
y
- The 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.
-
closeArc
-
true to close the portion of an ellipse, otherwise false.
Remarks
This method draws an arc that is a portion of the perimeter of an ellipse. The ellipse is defined by the boundaries of a rectangle. The arc is the portion of the perimeter of the ellipse between the startAngle parameter and the startAngle + sweepAngle parameters.
See Also
GraphicsEx Class | Resco.Drawing Namespace | GraphicsEx.DrawArc Overload List