System::Drawing::Drawing2D::GraphicsPath::AddArc 方法
内容
[
隐藏
]GraphicsPath::AddArc(const Rectangle&, float, float) method
将指定的椭圆弧添加到当前对象表示的路径中。
void System::Drawing::Drawing2D::GraphicsPath::AddArc(const Rectangle &rect, float startAngle, float sweepAngle)
| Parameter | Type | 描述 |
|---|---|---|
| rect | const Rectangle& | 限定该弧线所在椭圆的矩形 |
| startAngle | 单精度浮点数 | 指定弧线的起始角度(以度为单位),沿顺时针方向从 X 轴测量 |
| sweepAngle | 单精度浮点数 | 指定起始角度与弧线结束角度之间的角度 |
另见
- Class Rectangle
- Class GraphicsPath
- Namespace System::Drawing::Drawing2D
- Library Aspose.Page for C++
GraphicsPath::AddArc(const RectangleF&, float, float) method
将指定的椭圆弧添加到当前对象表示的路径中。
void System::Drawing::Drawing2D::GraphicsPath::AddArc(const RectangleF &rect, float startAngle, float sweepAngle)
| Parameter | Type | 描述 |
|---|---|---|
| rect | const RectangleF& | 限定该弧线所在椭圆的矩形 |
| startAngle | 单精度浮点数 | 指定弧线的起始角度(以度为单位),沿顺时针方向从 X 轴测量 |
| sweepAngle | 单精度浮点数 | 指定起始角度与弧线结束角度之间的角度 |
另见
- Class RectangleF
- Class GraphicsPath
- Namespace System::Drawing::Drawing2D
- Library Aspose.Page for C++
GraphicsPath::AddArc(float, float, float, float, float, float) method
将指定的椭圆弧添加到当前对象表示的路径中。
void System::Drawing::Drawing2D::GraphicsPath::AddArc(float x, float y, float width, float height, float startAngle, float sweepAngle)
| Parameter | Type | 描述 |
|---|---|---|
| x | 单精度浮点数 | 限定该弧线所在椭圆的矩形左上角的 X 坐标 |
| y | 单精度浮点数 | 限定该弧线所在椭圆的矩形左上角的 Y 坐标 |
| width | 单精度浮点数 | 限定该弧线所在椭圆的矩形的宽度 |
| height | 单精度浮点数 | 限定该弧线所在椭圆的矩形的高度 |
| startAngle | 单精度浮点数 | 指定弧线的起始角度(以度为单位),沿顺时针方向从 X 轴测量 |
| sweepAngle | 单精度浮点数 | 指定起始角度与弧线结束角度之间的角度 |
另见
- Class GraphicsPath
- Namespace System::Drawing::Drawing2D
- Library Aspose.Page for C++
GraphicsPath::AddArc(int, int, int, int, float, float) method
将指定的椭圆弧添加到当前对象表示的路径中。
void System::Drawing::Drawing2D::GraphicsPath::AddArc(int x, int y, int width, int height, float startAngle, float sweepAngle)
| Parameter | Type | 描述 |
|---|---|---|
| x | int | 限定该弧线所在椭圆的矩形左上角的 X 坐标 |
| y | int | 限定该弧线所在椭圆的矩形左上角的 Y 坐标 |
| width | int | 限定该弧线所在椭圆的矩形的宽度 |
| height | int | 限定该弧线所在椭圆的矩形的高度 |
| startAngle | 单精度浮点数 | 指定弧线的起始角度(以度为单位),沿顺时针方向从 X 轴测量 |
| sweepAngle | 单精度浮点数 | 指定起始角度与弧线结束角度之间的角度 |
另见
- Class GraphicsPath
- Namespace System::Drawing::Drawing2D
- Library Aspose.Page for C++