ensureRectIsVisible

fun ensureRectIsVisible(rect: Rectangle, anchor: Anchor = Anchor.CENTER)