GraphicsPath.AddPie
Contents
[
Hide
]AddPie(RectangleF, float, float)
Adds the outline of a pie shape to this path.
public void AddPie(RectangleF rect, float startAngle, float sweepAngle)
Parameter | Type | Description |
---|---|---|
rect | RectangleF | A RectangleF 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 RectangleF
- class GraphicsPath
- namespace Aspose.Page.Drawing.Drawing2D
- assembly Aspose.Page
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.Page.Drawing.Drawing2D
- assembly Aspose.Page