setBounds

fun setBounds(bounds: Rectangle)(source)

Resizes and moves the view to the supplied bounds relative to the window.