mirror of
https://github.com/storytold/vectorcraft.git
synced 2026-10-24 09:46:59 -06:00
A Shape Builder drag merged only the regions the pointer passed over, and the tool did not read Shift. The reference app's Shape Builder page describes a Shift-drag that draws a rectangular marquee to merge many paths at once. With Shift held at the press, the drag now draws a rectangular marquee from where it started to the pointer. The regions it reaches are shaded while it is drawn and merge into one shape on release; with Alt also held at the press, they are deleted. The marquee reaches each region whose outline crosses it or has an anchor inside it, and the region that holds the whole marquee. A Shift-click that does not move is a click, and a drag without Shift works as before. With In Merge Mode, Clicking Stroke Splits the Path on, a Shift-click on a stroke splits it as a click does; a marquee splits no stroke, and while it is drawn the pointer does not show scissors and no stroke is highlighted. shapeBuilder.merge takes the marquee as rect: [x, y, width, height], where x and y are where the drag started, and points may then be left out. For Pick Color From Artwork, the corner where the drag started counts as the drag's first point, and the opposite corner counts as its last. With rect, splitStroke does not split a stroke. Docs: docs/mcp.md, docs/target-app-parity.md.