FillPie()

Graphics::FillPie(const SharedPtr<Brush>&, int, int, int, int, int, int) method

Fills the specified pie using the specified brush on the surface represented by the current object.

void System::Drawing::Graphics::FillPie(const SharedPtr<Brush> &brush, int x, int y, int width, int height, int startAngle, int sweepAngle)

Arguments

ParameterTypeDescription
brushconst SharedPtr<Brush>&A brush to use when filling the pie
xintThe X coordinate of the upper left corner of the rectangle that defines the ellipse
yintThe Y coordinate of the upper left corner of the rectangle that defines the ellipse
widthintThe width of the rectangle that defines the ellipse
heightintThe height of the rectangle that defines the ellipse
startAngleintAngle in degrees measured clockwise from the X axis to the starting point of the pie
sweepAngleintAngle in degrees measured clockwise from the startAngle to ending point of the pie

Graphics::FillPie(const SharedPtr<Brush>&, float, float, float, float, float, float) method

Fills the specified pie using the specified brush on the surface represented by the current object.

void System::Drawing::Graphics::FillPie(const SharedPtr<Brush> &brush, float x, float y, float width, float height, float startAngle, float sweepAngle)

Arguments

ParameterTypeDescription
brushconst SharedPtr<Brush>&A brush to use when filling the pie
xfloatThe X coordinate of the upper left corner of the rectangle that defines the ellipse
yfloatThe Y coordinate of the upper left corner of the rectangle that defines the ellipse
widthfloatThe width of the rectangle that defines the ellipse
heightfloatThe height of the rectangle that defines the ellipse
startAnglefloatAngle in degrees measured clockwise from the X axis to the starting point of the pie
sweepAnglefloatAngle in degrees measured clockwise from the startAngle to ending point of the pie

Graphics::FillPie(const SharedPtr<Brush>&, Rectangle, float, float) method

Fills the specified pie using the specified brush on the surface represented by the current object.

void System::Drawing::Graphics::FillPie(const SharedPtr<Brush> &brush, Rectangle rect, float startAngle, float sweepAngle)

Arguments

ParameterTypeDescription
brushconst SharedPtr<Brush>&A brush to use when filling the pie
rectRectangleThe rectangle that defines the ellipse
startAnglefloatAngle in degrees measured clockwise from the X axis to the starting point of the pie
sweepAnglefloatAngle in degrees measured clockwise from the startAngle to ending point of the pie

See Also