Method DrawPie
DrawPie(Pen, PointD, double, double, double)
Draws an outline of a pie section defined by a circle specified by a center PointD and a radius.
void DrawPie(Pen pen, PointD center, double radius, double startAngle, double sweepAngle)
Parameters
pen
PenPen that determines the color, width, and style of the pie section.
center
PointDPointD structure that defines the center of the circle.
radius
doubleDefines the radius of the circle.
startAngle
doubleAngle in degrees measured clockwise from the x-axis to the first side of the pie section.
sweepAngle
doubleAngle in degrees measured clockwise from the startAngle parameter to the second side of the pie section.