@mocanvas/editor · constant

ROTATE_CORNER_TO_SELECTION_CORNER

declare const ROTATE_CORNER_TO_SELECTION_CORNER: Record<RotateCorner, SelectionCorner>

Which corner each rotate handle sits outside. mobile_rotate is the single handle shown below a selection on touch, and it has no corner of its own; it maps to the top left so that callers which need *a* corner get a stable one.

mocanvas is built by Symbio. Free for non-commercial, non-profit and development use; commercial use needs an agreement. Not affiliated with or endorsed by tldraw.