mirror of
https://github.com/storytold/vectorcraft.git
synced 2026-11-17 13:08:32 +00:00
path.eraseRegion clamped roundness to 1-100 and used any finite angle as given, so a stroke with roundness 400 or 0 erased like one with 100 or 1, an angle of 540 erased like 180, and the call did not report the bad value. It now refuses an angle outside -180 to 180 degrees and a roundness outside 1 to 100% with an error naming the key and the range, and the document does not change. A key left out or null still takes its default (0 degrees, 100%). path.split refuses a t outside 0 to 1 the same way. Before, such a t cut at the segment's end anchor with `segment` and was ignored with `anchor`. The Eraser's ranges match its Tool Options fields and are VectorCraft's own values. The help page gives no range for Angle or Roundness: https://helpx.adobe.com/illustrator/desktop/draw-shapes-and-paths/modify-paths/erase-paths-using-eraser-tool.html Adds @msg rows for the two Eraser messages to every complete catalog.