Draws a pie shape defined by an ellipse specified by a coordinate pair, a width, and a height and two radial lines.
Syntax
Parameters
- pen
- Pen object that determines the color, width, and style of the pie shape.
- x
- x-coordinate of the upper-left corner of the bounding rectangle that defines the ellipse from which the pie shape comes.
- y
- y-coordinate of the upper-left corner of the bounding rectangle that defines the ellipse from which the pie shape comes.
- width
- Width of the bounding rectangle that defines the ellipse from which the pie shape comes.
- height
- Height of the bounding rectangle that defines the ellipse from which the pie shape comes.
- startAngle
- Angle measured in degrees clockwise from the x-axis to the first side of the pie shape.
- sweepAngle
- Angle measured in degrees clockwise from the startAngle parameter to the second side of the pie shape.
Requirements
Target Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family
See Also