/// <summary> /// Draws a pie shape defined by an ellipse specified by a coordinate pair, a width, and a height and two radial lines. /// </summary> /// <param name="pen">Pen object that determines the color, width, and style of the pie shape.</param> /// <param name="x">x-coordinate of the upper-left corner of the bounding rectangle that defines the ellipse from which the pie shape comes.</param> /// <param name="y">y-coordinate of the upper-left corner of the bounding rectangle that defines the ellipse from which the pie shape comes.</param> /// <param name="width">Width of the bounding rectangle that defines the ellipse from which the pie shape comes.</param> /// <param name="height">Height of the bounding rectangle that defines the ellipse from which the pie shape comes.</param> /// <param name="startAngle">Angle measured in degrees clockwise from the x-axis to the first side of the pie shape.</param> /// <param name="sweepAngle">Angle measured in degrees clockwise from the startAngle parameter to the second side of the pie shape.</param> internal void DrawPie( Pen pen, float x, float y, float width, float height, float startAngle, float sweepAngle ) { RenderingObject.DrawPie(pen, x, y, width, height, startAngle, sweepAngle); }