@mocanvas/editor · type

TLResizeMode

type TLResizeMode = ResizeInfo<UnknownShape>["mode"]

What a resize means for the shape's contents.

- resize_bounds — the shape's box changes and its contents reflow. Dragging a handle does this. - scale_shape — everything scales together, contents included. This is what a proportional resize of a whole selection does, and what a shape inside a scaled group receives.

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.