System::Drawing::Graphics::DrawArc 方法

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

在当前对象所表示的表面上使用指定的笔绘制指定的弧。

void System::Drawing::Graphics::DrawArc(const SharedPtr<Pen> &pen, float x, float y, float width, float height, float startAngle, float sweepAngle)
参数类型描述
const SharedPtr<Pen>&绘制弧线时使用的笔
xfloat定义椭圆的矩形左上角的 X 坐标
yfloat定义椭圆的矩形左上角的 Y 坐标
widthfloat定义椭圆的矩形的宽度
heightfloat定义椭圆的矩形的高度
startAnglefloat从 X 轴顺时针测量到弧线起点的角度(度)
sweepAnglefloatstartAngle 顺时针测量到弧线终点的角度(以度为单位)

另见

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

在当前对象所表示的表面上使用指定的笔绘制指定的弧。

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)
参数类型描述
const SharedPtr<Pen>&绘制弧线时使用的笔
xint32_t定义椭圆的矩形左上角的 X 坐标
yint32_t定义椭圆的矩形左上角的 Y 坐标
widthint32_t定义椭圆的矩形的宽度
heightint32_t定义椭圆的矩形的高度
startAngleint32_t从 X 轴顺时针测量到弧线起点的角度(度)
sweepAngleint32_tstartAngle 顺时针测量到弧线终点的角度(以度为单位)

另见

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

在当前对象所表示的表面上使用指定的笔绘制指定的弧。

void System::Drawing::Graphics::DrawArc(const SharedPtr<Pen> &pen, Rectangle rect, float startAngle, float sweepAngle)
参数类型描述
const SharedPtr<Pen>&绘制弧线时使用的笔
rect矩形定义椭圆的矩形
startAnglefloat从 X 轴顺时针测量到弧线起点的角度(度)
sweepAnglefloatstartAngle 顺时针测量到弧线终点的角度(以度为单位)

另见

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

在当前对象所表示的表面上使用指定的笔绘制指定的弧。

void System::Drawing::Graphics::DrawArc(const SharedPtr<Pen> &pen, RectangleF rect, float startAngle, float sweepAngle)
参数类型描述
const SharedPtr<Pen>&绘制弧线时使用的笔
rectRectangleF定义椭圆的矩形
startAnglefloat从 X 轴顺时针测量到弧线起点的角度(度)
sweepAnglefloatstartAngle 顺时针测量到弧线终点的角度(以度为单位)

另见