
## x2 {#float-aspose.svg.builder.LengthType}

Sets the 'x2' attribute of the SVG 'line' element, specifying the x-coordinate of the end point of the line.


### Returns 


The current instance of SVGLineElementBuilder for method chaining.


```python
def x2(self, value, type):
    ...
```


| Parameter | Type | Description |
| :- | :- | :- |
| value | float | The x-coordinate of the line's end point. |
| type | [`LengthType`](/svg/python-net/aspose.svg.builder/lengthtype) | The unit of measurement for the x-coordinate (default is pixels). |



### See Also
* module [`aspose.svg.builder`](../../)
* class [`SVGLineElementBuilder`](/svg/python-net/aspose.svg.builder/svglineelementbuilder)
