DrawPie

MetafileRecorderGraphics2D.DrawPie method

Draws the pie.

public void DrawPie(Pen pen, Rectangle rect, float startAngle, float sweepAngle)
ParameterTypeDescription
penPenPen that determines the color, width, and style of the figure.
rectRectangleThe boundaries of the ellipse.
startAngleSingleAngle in degrees measured clockwise from the x-axis to the starting point of the arc.
sweepAngleSingleAngle in degrees measured clockwise from the startAngle parameter to ending point of the arc.

See Also