DrawPie Method
DrawPie(Pen, Point, Double, Double, Double)
Draws an outline of a pie section defined by a circle specified by a center Point and a radius.
Declaration
public void DrawPie(Pen pen, Point center, double radius, double startAngle, double sweepAngle)
Parameters
Type | Name | Description |
---|---|---|
Pen | pen | Pen that determines the color, width, and style of the pie section. |
Point | center | Point structure that defines the center of the circle. |
System.Double | radius | Defines the radius of the circle. |
System.Double | startAngle | Angle in degrees measured clockwise from the x-axis to the first side of the pie section. |
System.Double | sweepAngle | Angle in degrees measured clockwise from the startAngle parameter to the second side of the pie section. |