---
title: "y1 method"
url: "https://reference.aspose.com/svg/python-net/aspose.svg.builder/svglineelementbuilder/y1/"
product: "Aspose.SVG for Python via .NET API References"
---


## y1 {#float-aspose.svg.builder.LengthType}

Sets the 'y1' attribute of the SVG 'line' element, specifying the y-coordinate of the start point of the line.


### Returns 


The current instance of SVGLineElementBuilder for method chaining.


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

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



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