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)
ParameterType描述
画刷const SharedPtr<Brush>&填充饼形时使用的画刷
x单精度浮点数定义椭圆的矩形左上角的 X 坐标
y单精度浮点数定义椭圆的矩形左上角的 Y 坐标
width单精度浮点数定义椭圆的矩形的宽度
height单精度浮点数定义椭圆的矩形的高度
startAngle单精度浮点数从 X 轴顺时针测量到饼形起始点的角度(度)
sweepAngle单精度浮点数startAngle 顺时针测量到饼形结束点的角度(度)

另见

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)
ParameterType描述
画刷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)
ParameterType描述
画刷const SharedPtr<Brush>&填充饼形时使用的画刷
rect矩形定义椭圆的矩形
startAngle单精度浮点数从 X 轴顺时针测量到饼形起始点的角度(度)
sweepAngle单精度浮点数startAngle 顺时针测量到饼形结束点的角度(度)

另见