DrawBox
Toggle table of contents
common
Target filter
common
Switch theme
Search in API
Skip to content
DrawBox
DrawBox
/
io.ak1.drawbox.domain.model
/
Viewport
/
zoomTo
zoom
To
fun
zoomTo
(
targetScale
:
Float
,
focalScreen
:
Offset
)
:
Viewport
Set scale to
targetScale
anchored at
focalScreen
.