System::Drawing::Drawing2D::GraphicsPath::AddPie method

GraphicsPath::AddPie(float, float, float, float, float, float) method

Adds the specified outline of the pie shape to the path represented by the current object.

void System::Drawing::Drawing2D::GraphicsPath::AddPie(float x, float y, float width, float height, float startAngle, float sweepAngle)
ParameterTypeDescription
xfloatThe X coordinate of the upper left corner of the rectangle that bounds the ellipse from which the pie is drawn
yfloatThe Y coordinate of the upper left corner of the rectangle that bounds the ellipse from which the pie is drawn
widthfloatThe width of the upper left corner of the rectangle that bounds the ellipse from which the pie is drawn
heightfloatThe height of the upper left corner of the rectangle that bounds the ellipse from which the pie is drawn
startAnglefloatSpecifies the starting angle of the pie in degrees, measured clockwise from the X-axis
sweepAnglefloatSpecifies the angle between the starting angle and the end of the pie

See Also

GraphicsPath::AddPie(int, int, int, int, float, float) method

Adds the specified outline of the pie shape to the path represented by the current object.

void System::Drawing::Drawing2D::GraphicsPath::AddPie(int x, int y, int width, int height, float startAngle, float sweepAngle)
ParameterTypeDescription
xintThe X coordinate of the upper left corner of the rectangle that bounds the ellipse from which the pie is drawn
yintThe Y coordinate of the upper left corner of the rectangle that bounds the ellipse from which the pie is drawn
widthintThe width of the upper left corner of the rectangle that bounds the ellipse from which the pie is drawn
heightintThe height of the upper left corner of the rectangle that bounds the ellipse from which the pie is drawn
startAnglefloatSpecifies the starting angle of the pie in degrees, measured clockwise from the X-axis
sweepAnglefloatSpecifies the angle between the starting angle and the end of the pie

See Also

GraphicsPath::AddPie(const Rectangle&, float, float) method

Adds the specified outline of the pie shape to the path represented by the current object.

void System::Drawing::Drawing2D::GraphicsPath::AddPie(const Rectangle &rect, float startAngle, float sweepAngle)
ParameterTypeDescription
rectconst Rectangle&The rectangle that bounds the ellipse from which the pie is drawn
startAnglefloatSpecifies the starting angle of the pie in degrees, measured clockwise from the X-axis
sweepAnglefloatSpecifies the angle between the starting angle and the end of the pie

See Also