Function Common fun RoundRect.translate(offset: Offset): RoundRect Returns a new RoundRect translated by the given offset.