System::Drawing::Drawing2D::GraphicsPath::AddLine 方法
内容
[
隐藏
]GraphicsPath::AddLine(const Point&, const Point&) method
向当前对象表示的路径添加指定的直线。
void System::Drawing::Drawing2D::GraphicsPath::AddLine(const Point &pt1, const Point &pt2)
| 参数 | 类型 | 描述 |
|---|---|---|
| pt1 | const Point& | 要添加的直线的起始点 |
| pt2 | const Point& | 要添加的直线的结束点 |
另见
- Class Point
- Class GraphicsPath
- Namespace System::Drawing::Drawing2D
- Library Aspose.Font for C++
GraphicsPath::AddLine(const PointF&, const PointF&) method
向当前对象表示的路径添加指定的直线。
void System::Drawing::Drawing2D::GraphicsPath::AddLine(const PointF &pt1, const PointF &pt2)
| 参数 | 类型 | 描述 |
|---|---|---|
| pt1 | const PointF& | 要添加的直线的起始点 |
| pt2 | const PointF& | 要添加的直线的结束点 |
另见
- Class PointF
- Class GraphicsPath
- Namespace System::Drawing::Drawing2D
- Library Aspose.Font for C++
GraphicsPath::AddLine(float, float, float, float) method
向当前对象表示的路径添加指定的直线。
void System::Drawing::Drawing2D::GraphicsPath::AddLine(float x1, float y1, float x2, float y2)
| 参数 | 类型 | 描述 |
|---|---|---|
| x1 | float | 要添加的直线起始点的 X 坐标 |
| y1 | float | 要添加的直线起始点的 Y 坐标 |
| x2 | float | 要添加的直线结束点的 X 坐标 |
| y2 | float | 要添加的直线结束点的 Y 坐标 |
另见
- Class GraphicsPath
- Namespace System::Drawing::Drawing2D
- Library Aspose.Font for C++
GraphicsPath::AddLine(int, int, int, int) method
向当前对象表示的路径添加指定的直线。
void System::Drawing::Drawing2D::GraphicsPath::AddLine(int x1, int y1, int x2, int y2)
| 参数 | 类型 | 描述 |
|---|---|---|
| x1 | int | 要添加的直线起始点的 X 坐标 |
| y1 | int | 要添加的直线起始点的 Y 坐标 |
| x2 | int | 要添加的直线结束点的 X 坐标 |
| y2 | int | 要添加的直线结束点的 Y 坐标 |
另见
- Class GraphicsPath
- Namespace System::Drawing::Drawing2D
- Library Aspose.Font for C++