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


## ry {#float-aspose.svg.builder.LengthType}

Sets the 'ry' attribute of the SVG 'rect' element, specifying the vertical radius of the rectangle's rounded corners.


### Returns 


The current instance of SVGRectElementBuilder for method chaining.


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


| Parameter | Type | Description |
| :- | :- | :- |
| value | float | The vertical radius for the rectangle's rounded corners. |
| type | [`LengthType`](/svg/python-net/aspose.svg.builder/lengthtype) | The unit of measurement for the radius (default is pixels). |



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