Exemplo n.º 1
0
 /// <summary>
 /// Fills the interior of a pie section defined by an ellipse
 /// specified by a pair of coordinates, a width, and a height
 /// and two radial lines.
 /// </summary>
 /// <param name="brush">Brush object that determines the characteristics of the fill.</param>
 /// <param name="x">x-coordinate of the upper-left corner of the bounding rectangle that defines the ellipse from which the pie section comes.</param>
 /// <param name="y">y-coordinate of the upper-left corner of the bounding rectangle that defines the ellipse from which the pie section comes.</param>
 /// <param name="width">Width of the bounding rectangle that defines the ellipse from which the pie section comes.</param>
 /// <param name="height">Height of the bounding rectangle that defines the ellipse from which the pie section comes.</param>
 /// <param name="startAngle">Angle in degrees measured clockwise from the x-axis to the first side of the pie section.</param>
 /// <param name="sweepAngle">Angle in degrees measured clockwise from the startAngle parameter to the second side of the pie section.</param>
 internal void FillPie(
     Brush brush,
     float x,
     float y,
     float width,
     float height,
     float startAngle,
     float sweepAngle
     )
 {
     RenderingObject.FillPie(brush, x, y, width, height, startAngle, sweepAngle);
 }