mirror of
https://github.com/storytold/vectorcraft.git
synced 2026-10-27 03:06:57 -06:00
## Summary While dragging with the Star tool, the measurement label lists the outer radius (R1) and inner radius (R2) from the centre to the pointer, matching the radii used for the live preview (including Ctrl/Cmd holding the inner radius and Alt straightening the points). ## Tests - `star_drag_measure_label_shows_outer_and_inner_radii` in `crates/tools/src/shape.rs`. ## Sources - https://helpx.adobe.com/illustrator/desktop/draw-shapes-and-paths/modify-live-shapes/change-inner-and-outer-radius-of-stars.html — R1 is the outer radius and R2 the inner radius of a star. - https://helpx.adobe.com/illustrator/using/default-keyboard-shortcuts.html — while dragging a star, Command/Ctrl keeps the inner radius constant as the outer radius follows the pointer. Part of gap G1 Co-authored-by: nrq6993-a11y <nrq6993-a11y@users.noreply.github.com>