GraphicsPath.AddLine
Contents
[
Hide
]AddLine(PointF, PointF)
Appends a line segment to this GraphicsPath.
public void AddLine(PointF pt1, PointF pt2)
| Parameter | Type | Description |
|---|---|---|
| pt1 | PointF | A PointF that represents the starting point of the line. |
| pt2 | PointF | A PointF that represents the endpoint of the line. |
See Also
- struct PointF
- class GraphicsPath
- namespace Aspose.Drawing.Drawing2D
- assembly Aspose.Drawing.Common
AddLine(float, float, float, float)
Appends a line segment to this GraphicsPath.
public void AddLine(float x1, float y1, float x2, float y2)
| Parameter | Type | Description |
|---|---|---|
| x1 | Single | The x-coordinate of the starting point of the line. |
| y1 | Single | The y-coordinate of the starting point of the line. |
| x2 | Single | The x-coordinate of the endpoint of the line. |
| y2 | Single | The y-coordinate of the endpoint of the line. |
See Also
- class GraphicsPath
- namespace Aspose.Drawing.Drawing2D
- assembly Aspose.Drawing.Common