DrawArc()

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

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

void System::Drawing::Graphics::DrawArc(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 arc
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 arc
sweepAngleint32_tAngle in degrees measured clockwise from the startAngle to ending point of the arc

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

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

void System::Drawing::Graphics::DrawArc(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 arc
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 arc
sweepAnglefloatAngle in degrees measured clockwise from the startAngle to ending point of the arc

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

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

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

Arguments

ParameterTypeDescription
penconst SharedPtr<Pen>&A pen to use when drawing the arc
rectRectangleThe rectangle that defines the ellipse
startAnglefloatAngle in degrees measured clockwise from the X axis to the starting point of the arc
sweepAnglefloatAngle in degrees measured clockwise from the startAngle to ending point of the arc

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

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

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

Arguments

ParameterTypeDescription
penconst SharedPtr<Pen>&A pen to use when drawing the arc
rectRectangleFThe rectangle that defines the ellipse
startAnglefloatAngle in degrees measured clockwise from the X axis to the starting point of the arc
sweepAnglefloatAngle in degrees measured clockwise from the startAngle to ending point of the arc

See Also