##  line_to(self, x, y) {#float-float}
Ajoute un segment de ligne à la figure actuelle.
Le point de départ est le point final de la figure actuelle.



```python

def line_to(self, x, y):
    ...
```


| Paramètre| Taper| Description|
| :- | :- | :- |
| x | float | La coordonnée x du point final du segment de ligne (unité : pixel).|
| y | float | La coordonnée y du point final du segment de ligne (unité : pixel).|



###  Voir également
* module [`aspose.cells.drawing`](../../)
* classe [`ShapePath`](/cells/python-net/fr/aspose.cells.drawing/shapepath)
