DrawPie()

Graphics::DrawPie(const SharedPtr<Pen>&, int32_t, int32_t, int32_t, int32_t, int32_t, int32_t) method

Draws the specified pie using the specified pen on the surface represented by the current object.

void System::Drawing::Graphics::DrawPie(const SharedPtr<Pen> &pen, int32_t x, int32_t y, int32_t width, int32_t height, int32_t startAngle, int32_t sweepAngle)

Arguments

ParameterTypeDescription
penconst SharedPtr<Pen>&A pen to use when drawing the pie
xint32_tThe X coordinate of the upper left corner of the rectangle that defines the ellipse
yint32_tThe Y coordinate of the upper left corner of the rectangle that defines the ellipse
widthint32_tThe width of the rectangle that defines the ellipse
heightint32_tThe height of the rectangle that defines the ellipse
startAngleint32_tAngle in degrees measured clockwise from the X axis to the starting point of the pie
sweepAngleint32_tAngle in degrees measured clockwise from the startAngle to ending point of the pie

Graphics::DrawPie(const SharedPtr<Pen>&, float, float, float, float, float, float) method

Draws the specified pie using the specified pen on the surface represented by the current object.

void System::Drawing::Graphics::DrawPie(const SharedPtr<Pen> &pen, float x, float y, float width, float height, float startAngle, float sweepAngle)

Arguments

ParameterTypeDescription
penconst SharedPtr<Pen>&A pen to use when drawing 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::DrawPie(const SharedPtr<Pen>&, Rectangle, float, float) method

Draws the specified pie using the specified pen on the surface represented by the current object.

void System::Drawing::Graphics::DrawPie(const SharedPtr<Pen> &pen, Rectangle rect, float startAngle, float sweepAngle)

Arguments

ParameterTypeDescription
penconst SharedPtr<Pen>&A pen to use when drawing 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

Graphics::DrawPie(const SharedPtr<Pen>&, RectangleF, float, float) method

Draws the specified pie using the specified pen on the surface represented by the current object.

void System::Drawing::Graphics::DrawPie(const SharedPtr<Pen> &pen, RectangleF rect, float startAngle, float sweepAngle)

Arguments

ParameterTypeDescription
penconst SharedPtr<Pen>&A pen to use when drawing the pie
rectRectangleFThe 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