mirror of
https://github.com/storytold/vectorcraft.git
synced 2026-11-27 16:59:43 +01:00
Choosing a fill while the Shape Builder was active (a swatch, the Color panel, the Fill box or a paint command) ran paint.setFill on every selected path, so all of them took the color. With Pick Color From set to Color Swatches the tool merges with the current fill, so the pick is the color for the next merge. While the Shape Builder is active, a fill chosen without ids, id or item now changes only the current fill, with either Pick Color From: with Color Swatches the next merge fills with it, and with Artwork merges still take their look from the art. A stroke chosen then still goes to the selection. Swap Fill and Stroke and Default Fill and Stroke change only the paint for new art, and Swap gives the current fill the stroke the Stroke proxy shows. This is VectorCraft's own rule; no default setting changes. - painting_tool_of says which tool paints with the chosen fill or stroke: the Live Paint Bucket with both, the Shape Builder with the fill. Session::tool_paints(stroke) replaces bucket_paints, so the paint and gradient commands, previews, the proxies, the Stroke panel and the Gradient panel's eyedropper follow it for each kind. - A new selection does not replace the tool's fill for new art, with New Art Has Basic Appearance on or off, and new art is not linked to a graphic style whose fill it does not have. - A cancel puts back a fill previewed for the tool, also after another tool was chosen during the drag. - An Eyedropper pick armed for a stop of the tool's gradient samples only into a stop of that gradient, and ends once that stop is gone. Choosing another tool drops the stop the pick was armed for, and a pick armed while the Eyedropper waits for a Cmd-drag keeps its stop. - The paint.freeform commands refuse the Shape Builder's fill as they refuse the Live Paint Bucket's colors, which lie on no object. For the gradient either tool paints with, the Color panel, the Gradient panel, the stop popover and swatch drops edit its stops instead of points, and the Gradient panel shows its Draw toggle, ramp and stop fields in place of the point controls. paint.editGradient keeps the given stops of a freeform gradient that has no points yet. - A gradient command that names no kind edits the proxy in front when the tool paints with it, else the kind the selection's active Appearance row stands for. - set_paint lists the commands that painted no object in unpainted. - Params text and docs/mcp.md describe the rule. Help (Pick Color From, Color Swatches): https://helpx.adobe.com/illustrator/desktop/draw-shapes-and-paths/draw-shapes/shape-builder-tool-options.html https://help.adobe.com/archive/en_US/illustrator/cs5/illustrator_cs5_help.pdf#page=266 https://help.adobe.com/archive/en_US/illustrator/cs5/illustrator_cs5_help.pdf#page=267