
## LineTo class

Contains x- and y-coordinates of the ending vertex of a straight line segment. These coordinates are contained in the X and Y elements, respectively.



**Inheritance:** [LineTo](/diagram/python-net/aspose.diagram/lineto) → 
[Coordinate](/diagram/python-net/aspose.diagram/coordinate)



The LineTo type exposes the following members:

### Constructors
| Constructor | Description |
| :- | :- |
| [LineTo()](/diagram/python-net/aspose.diagram/lineto/__init__/#) | Creates an instance of the [LineTo](/diagram/python-net/aspose.diagram/lineto) class. |


### Properties
| Property | Description |
| :- | :- |
| [ix](/diagram/python-net/aspose.diagram/lineto/ix) | The zero-based index of the element within its parent element. |
| [x](/diagram/python-net/aspose.diagram/lineto/x) | The x-coordinate of the ending vertex of a straight line segment. |
| [y](/diagram/python-net/aspose.diagram/lineto/y) | The y-coordinate of the ending vertex of a straight line segment. |


### Methods
| Method | Description |
| :- | :- |
| [clone()](/diagram/python-net/aspose.diagram/lineto/clone/#) | Creates deep copy of this instance. |


### See Also

* module [aspose.diagram](../)
* class [Coordinate](/diagram/python-net/aspose.diagram/coordinate)
