doodle
Toggle table of contents
0.12.0
common
Target filter
common
Switch theme
Search in API
Skip to content
doodle
Core
/
io.nacular.doodle.drawing
/
Canvas
/
translate
translate
open
fun
translate
(
by
:
Point
,
block
:
Canvas
.
(
)
->
Unit
)
(
source
)
Translates the operations within
block
by the given x, y.
Parameters
by
this amount
block
being transformed