GraphicsPath.AddPie
Contents
[
Hide
]AddPie(Rectangle, float, float)
Adds the outline of a pie shape to this path.
public void AddPie(Rectangle rect, float startAngle, float sweepAngle)
Parameter | Type | Description |
---|---|---|
rect | Rectangle | A Rectangle that represents the bounding rectangle that defines the ellipse from which the pie is drawn. |
startAngle | Single | The starting angle for the pie section, measured in degrees clockwise from the x-axis. |
sweepAngle | Single | The angle between startAngle and the end of the pie section, measured in degrees clockwise from startAngle. |
See Also
- struct Rectangle
- class GraphicsPath
- namespace Aspose.Drawing.Drawing2D
- assembly Aspose.Drawing.Common
AddPie(float, float, float, float, float, float)
Adds the outline of a pie shape to this path.
public void AddPie(float x, float y, float width, float height, float startAngle, float sweepAngle)
Parameter | Type | Description |
---|---|---|
x | Single | The x-coordinate of the upper-left corner of the bounding rectangle that defines the ellipse from which the pie is drawn. |
y | Single | The y-coordinate of the upper-left corner of the bounding rectangle that defines the ellipse from which the pie is drawn. |
width | Single | The width of the bounding rectangle that defines the ellipse from which the pie is drawn. |
height | Single | The height of the bounding rectangle that defines the ellipse from which the pie is drawn. |
startAngle | Single | The starting angle for the pie section, measured in degrees clockwise from the x-axis. |
sweepAngle | Single | The angle between startAngle and the end of the pie section, measured in degrees clockwise from startAngle. |
See Also
- class GraphicsPath
- namespace Aspose.Drawing.Drawing2D
- assembly Aspose.Drawing.Common