## ShapePath::LineTo method


Appends a line segment to the current figure. The starting point is the end point of the current figure.Unit: Pixel.

```cpp
void Aspose::Cells::Drawing::ShapePath::LineTo(float x, float y)
```


| Parameter | Type | Description |
| --- | --- | --- |
| x | float | The x-coordinate of the endpoint of the line segment(Unit: Pixel). |
| y | float | The y-coordinate of the endpoint of the line segment(Unit: Pixel). |

## See Also

* Class [Vector](../../../aspose.cells/vector/)
* Class [ShapePath](../)
* Namespace [Aspose::Cells::Drawing](../../)
* Library [Aspose.Cells for C++](../../../)
