Translate a RectPose-shaped pose by (dx, dy). Suitable as the default translatePose for useMove when poses carry top-level x/y. Other fields (width/height, plus any extra props on TPose) are preserved.
RectPose
(dx, dy)
translatePose
useMove
x
y
TPose
Translate a
RectPose-shaped pose by(dx, dy). Suitable as the defaulttranslatePoseforuseMovewhen poses carry top-levelx/y. Other fields (width/height, plus any extra props onTPose) are preserved.