@mocanvas/editor · function
declare function getSelectionRotatedScreenBounds(editor: Editor): Box | undefinedgetSelectionRotatedPageBounds in screen space: the rotated box scaled and offset by the camera, still expressed in its own rotated frame.
The caller applies getSelectionRotation() to it, exactly as with the page
space version.
Mentioned here
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.