System::Drawing::Drawing2D::GraphicsPath::AddLine method
Contents
[
Hide
]GraphicsPath::AddLine(const Point&, const Point&) method
Adds the specified line to the path represented by the current object.
void System::Drawing::Drawing2D::GraphicsPath::AddLine(const Point &pt1, const Point &pt2)
Parameter | Type | Description |
---|---|---|
pt1 | const Point& | The starting point of the line to add |
pt2 | const Point& | The ending point of the line to add |
See Also
- Class Point
- Class GraphicsPath
- Namespace System::Drawing::Drawing2D
- Library Aspose.PUB for C++
GraphicsPath::AddLine(const PointF&, const PointF&) method
Adds the specified line to the path represented by the current object.
void System::Drawing::Drawing2D::GraphicsPath::AddLine(const PointF &pt1, const PointF &pt2)
Parameter | Type | Description |
---|---|---|
pt1 | const PointF& | The starting point of the line to add |
pt2 | const PointF& | The ending point of the line to add |
See Also
- Class PointF
- Class GraphicsPath
- Namespace System::Drawing::Drawing2D
- Library Aspose.PUB for C++
GraphicsPath::AddLine(float, float, float, float) method
Adds the specified line to the path represented by the current object.
void System::Drawing::Drawing2D::GraphicsPath::AddLine(float x1, float y1, float x2, float y2)
Parameter | Type | Description |
---|---|---|
x1 | float | The X coordinate of the starting point of the line to add |
y1 | float | The Y coordinate of the starting point of the line to add |
x2 | float | The X coordinate of the ending point of the line to add |
y2 | float | The Y coordinate of the ending point of the line to add |
See Also
- Class GraphicsPath
- Namespace System::Drawing::Drawing2D
- Library Aspose.PUB for C++
GraphicsPath::AddLine(int, int, int, int) method
Adds the specified line to the path represented by the current object.
void System::Drawing::Drawing2D::GraphicsPath::AddLine(int x1, int y1, int x2, int y2)
Parameter | Type | Description |
---|---|---|
x1 | int | The X coordinate of the starting point of the line to add |
y1 | int | The Y coordinate of the starting point of the line to add |
x2 | int | The X coordinate of the ending point of the line to add |
y2 | int | The Y coordinate of the ending point of the line to add |
See Also
- Class GraphicsPath
- Namespace System::Drawing::Drawing2D
- Library Aspose.PUB for C++