System::Drawing::Graphics::DrawPie 方法
内容
[
隐藏
]Graphics::DrawPie(const SharedPtr<Pen>&, float, float, float, float, float, float) method
在当前对象所表示的表面上使用指定的笔绘制指定的饼形。
void System::Drawing::Graphics::DrawPie(const SharedPtr<Pen> &pen, float x, float y, float width, float height, float startAngle, float sweepAngle)
| 参数 | 类型 | 描述 |
|---|---|---|
| 笔 | const SharedPtr<Pen>& | 绘制饼形时使用的笔 |
| x | float | 定义椭圆的矩形左上角的 X 坐标 |
| y | float | 定义椭圆的矩形左上角的 Y 坐标 |
| width | float | 定义椭圆的矩形的宽度 |
| height | float | 定义椭圆的矩形的高度 |
| startAngle | float | 从 X 轴顺时针测量到饼形起始点的角度(以度为单位) |
| sweepAngle | float | 从 startAngle 顺时针测量到饼形结束点的角度(以度为单位) |
另见
- Typedef SharedPtr
- Class Pen
- Class Graphics
- Namespace System::Drawing
- Library Aspose.Font for C++
Graphics::DrawPie(const SharedPtr<Pen>&, int32_t, int32_t, int32_t, int32_t, int32_t, int32_t) method
在当前对象所表示的表面上使用指定的笔绘制指定的饼形。
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)
| 参数 | 类型 | 描述 |
|---|---|---|
| 笔 | const SharedPtr<Pen>& | 绘制饼形时使用的笔 |
| x | int32_t | 定义椭圆的矩形左上角的 X 坐标 |
| y | int32_t | 定义椭圆的矩形左上角的 Y 坐标 |
| width | int32_t | 定义椭圆的矩形的宽度 |
| height | int32_t | 定义椭圆的矩形的高度 |
| startAngle | int32_t | 从 X 轴顺时针测量到饼形起始点的角度(以度为单位) |
| sweepAngle | int32_t | 从 startAngle 顺时针测量到饼形结束点的角度(以度为单位) |
另见
- Typedef SharedPtr
- Class Pen
- Class Graphics
- Namespace System::Drawing
- Library Aspose.Font for C++
Graphics::DrawPie(const SharedPtr<Pen>&, Rectangle, float, float) method
在当前对象所表示的表面上使用指定的笔绘制指定的饼形。
void System::Drawing::Graphics::DrawPie(const SharedPtr<Pen> &pen, Rectangle rect, float startAngle, float sweepAngle)
| 参数 | 类型 | 描述 |
|---|---|---|
| 笔 | const SharedPtr<Pen>& | 绘制饼形时使用的笔 |
| rect | 矩形 | 定义椭圆的矩形 |
| startAngle | float | 从 X 轴顺时针测量到饼形起始点的角度(以度为单位) |
| sweepAngle | float | 从 startAngle 顺时针测量到饼形结束点的角度(以度为单位) |
另见
- Typedef SharedPtr
- Class Pen
- Class Rectangle
- Class Graphics
- Namespace System::Drawing
- Library Aspose.Font for C++
Graphics::DrawPie(const SharedPtr<Pen>&, RectangleF, float, float) method
在当前对象所表示的表面上使用指定的笔绘制指定的饼形。
void System::Drawing::Graphics::DrawPie(const SharedPtr<Pen> &pen, RectangleF rect, float startAngle, float sweepAngle)
| 参数 | 类型 | 描述 |
|---|---|---|
| 笔 | const SharedPtr<Pen>& | 绘制饼形时使用的笔 |
| rect | RectangleF | 定义椭圆的矩形 |
| startAngle | float | 从 X 轴顺时针测量到饼形起始点的角度(以度为单位) |
| sweepAngle | float | 从 startAngle 顺时针测量到饼形结束点的角度(以度为单位) |
另见
- Typedef SharedPtr
- Class Pen
- Class RectangleF
- Class Graphics
- Namespace System::Drawing
- Library Aspose.Font for C++