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)
| 参数 | 类型 | 描述 |
|---|---|---|
| rect | const Rectangle& | 限定弧线所在椭圆的矩形 |
| startAngle | float | 指定弧线的起始角度(以度为单位),相对于 X 轴顺时针测量 |
| sweepAngle | float | 指定起始角度与弧线结束角度之间的角度 |
另见
- Class Rectangle
- Class GraphicsPath
- Namespace System::Drawing::Drawing2D
- Library Aspose.Font for C++
GraphicsPath::AddArc(const RectangleF&, float, float) method
向当前对象表示的路径添加指定的椭圆弧。
void System::Drawing::Drawing2D::GraphicsPath::AddArc(const RectangleF &rect, float startAngle, float sweepAngle)
| 参数 | 类型 | 描述 |
|---|---|---|
| rect | const RectangleF& | 限定弧线所在椭圆的矩形 |
| startAngle | float | 指定弧线的起始角度(以度为单位),相对于 X 轴顺时针测量 |
| sweepAngle | float | 指定起始角度与弧线结束角度之间的角度 |
另见
- Class RectangleF
- Class GraphicsPath
- Namespace System::Drawing::Drawing2D
- Library Aspose.Font 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)
| 参数 | 类型 | 描述 |
|---|---|---|
| x | float | 限定弧线所在椭圆的矩形左上角的 X 坐标 |
| y | float | 限定弧线所在椭圆的矩形左上角的 Y 坐标 |
| width | float | 限定弧线所在椭圆的矩形的宽度 |
| height | float | 限定弧线所在椭圆的矩形的高度 |
| startAngle | float | 指定弧线的起始角度(以度为单位),相对于 X 轴顺时针测量 |
| sweepAngle | float | 指定起始角度与弧线结束角度之间的角度 |
另见
- Class GraphicsPath
- Namespace System::Drawing::Drawing2D
- Library Aspose.Font 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)
| 参数 | 类型 | 描述 |
|---|---|---|
| x | int | 限定弧线所在椭圆的矩形左上角的 X 坐标 |
| y | int | 限定弧线所在椭圆的矩形左上角的 Y 坐标 |
| width | int | 限定弧线所在椭圆的矩形的宽度 |
| height | int | 限定弧线所在椭圆的矩形的高度 |
| startAngle | float | 指定弧线的起始角度(以度为单位),相对于 X 轴顺时针测量 |
| sweepAngle | float | 指定起始角度与弧线结束角度之间的角度 |
另见
- Class GraphicsPath
- Namespace System::Drawing::Drawing2D
- Library Aspose.Font for C++