System::Drawing::Graphics::FillPie 方法

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

在当前对象表示的表面上,使用指定的画笔填充指定的饼形。

void System::Drawing::Graphics::FillPie(const SharedPtr<Brush> &brush, float x, float y, float width, float height, float startAngle, float sweepAngle)
参数类型描述
画刷const SharedPtr<Brush>&填充饼形时使用的画刷
xfloat定义椭圆的矩形左上角的 X 坐标
yfloat定义椭圆的矩形左上角的 Y 坐标
widthfloat定义椭圆的矩形的宽度
heightfloat定义椭圆的矩形的高度
startAnglefloat从 X 轴顺时针测量到饼形起始点的角度(以度为单位)
sweepAnglefloatstartAngle 顺时针测量到饼形结束点的角度(以度为单位)

另见

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

在当前对象表示的表面上,使用指定的画笔填充指定的饼形。

void System::Drawing::Graphics::FillPie(const SharedPtr<Brush> &brush, int x, int y, int width, int height, int startAngle, int sweepAngle)
参数类型描述
画刷const SharedPtr<Brush>&填充饼形时使用的画刷
xint定义椭圆的矩形左上角的 X 坐标
yint定义椭圆的矩形左上角的 Y 坐标
widthint定义椭圆的矩形的宽度
heightint定义椭圆的矩形的高度
startAngleint从 X 轴顺时针测量到饼形起始点的角度(以度为单位)
sweepAngleintstartAngle 顺时针测量到饼形结束点的角度(以度为单位)

另见

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

在当前对象表示的表面上,使用指定的画笔填充指定的饼形。

void System::Drawing::Graphics::FillPie(const SharedPtr<Brush> &brush, Rectangle rect, float startAngle, float sweepAngle)
参数类型描述
画刷const SharedPtr<Brush>&填充饼形时使用的画刷
rect矩形定义椭圆的矩形
startAnglefloat从 X 轴顺时针测量到饼形起始点的角度(以度为单位)
sweepAnglefloatstartAngle 顺时针测量到饼形结束点的角度(以度为单位)

另见