mirror of
https://github.com/storytold/vectorcraft.git
synced 2026-11-27 16:59:43 +01:00
The Tangent Circle Tool's options dialog and tool.setOption take five more options, kept with the preferences: center and radii show or hide the preview's center cross and the lines to the two touch points, color sets the color of the circle, the cross, the lines and the no-circle note (red, blue, magenta, green, black or gray), snapTolerance sets how near (screen pixels, 0 to 25) the pointer picks a segment, and snapWithoutGuides keeps that reach with Smart Guides off. With Smart Guides on, their Snapping Tolerance counts when it is larger; with snapping off a segment is picked within the Selection Tolerance. The help page lists these options: https://docs.astutegraphics.com/subscribe/tangent-circle-tool The defaults (both shown, red, 3 px, snapping on) are VectorCraft's own. With Smart Guides on, the default reach is now their Snapping Tolerance (4 px) instead of the 3 px Selection Tolerance. Of the segments within reach the tool now picks the nearest one, not the first one found, so a larger tolerance does not pick a farther path over a nearer one. tool.setOption gives an error for an unknown color, a tolerance outside its range or a value of the wrong type, and sets none of the values. Docs: docs/mcp.md, docs/target-app-parity.md, docs/ui-parity.md.