OptionalbehaviorsOptionaldebugOptional debug sink. When supplied, records the rotation-handle position + circular hitbox at gesture start. Tree-shakes via optional-chain when omitted.
OptionalgeometryProject pose ↔ rotated bounds. Defaults to the identity for
RotatedPose. Required for non-rect TPose (e.g. a rotated path).
OptionalhandleHit-test radius for the rotation handle, in screen pixels. Used for
the recorded debug hitbox circle. Default 8.
OptionalonOptionalonOptionalpivotMulti-selection pivot mode. Default 'union'.
'each': each item rotates around its own center.'union': each item rotates around the selection's union center;
item centers orbit the union center while also gaining the same
rotation delta.
Has no effect on single-id gestures.OptionalrotateOptionalrotationWorld-pixel distance from the AABB top edge to the rotation handle.
Used for debug-recording the handle position. Default
DEFAULT_ROTATION_HANDLE_DISTANCE.
OptionaltransientReserved; rotate is never transient in practice. Ignored.
Behaviors are typed against the pose shape; the kit ships none yet (rotation snap behaviors are deferred). For non-rect TPose, behaviors are typed
neveruntil you supply ageometry.