scrollTo

fun View.scrollTo(point: Point)

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)

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

Parameters

rectangle

within the View's coordinate space