[]
Appends a line segment to this GraphicsPath.
public void AddLine(float x1, float y1, float x2, float y2)
| Type | Name | Description |
|---|---|---|
| float | x1 | The x-coordinate of the starting point of the line. |
| float | y1 | The y-coordinate of the starting point of the line. |
| float | x2 | The x-coordinate of the endpoint of the line. |
| float | y2 | The y-coordinate of the endpoint of the line. |
Appends a line segment to this GraphicsPath.
public void AddLine(PointF point1, PointF point2)
| Type | Name | Description |
|---|---|---|
| PointF | point1 | A PointF that represents the starting point of the line. |
| PointF | point2 | A PointF that represents the endpoint of the line. |