
## line_to(self, x, y) {#float-float}

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



```python

def line_to(self, x, 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
* module [`aspose.cells.drawing`](../../)
* class [`ShapePath`](/cells/python-net/aspose.cells.drawing/shapepath)
