scrollTo

fun View.scrollTo(point: Point)(source)

Scrolls the View to the given point if it is within a ScrollPanel.

Parameters

point

within the View's coordinate space


fun View.scrollTo(rectangle: Rectangle)(source)

Scrolls the View to the given region if it is within a ScrollPanel.

Parameters

rectangle

within the View's coordinate space