---
title: "translate"
description: "Returns a new [RoundRect] translated by the given offset."
type: "function"
---

<div class='type'>Function</div>


<a id='references'></a>
<div class='sourceset sourceset-common'>Common</div>


```kotlin
fun RoundRect.translate(offset: Offset): RoundRect
```


Returns a new `RoundRect` translated by the given offset.



