mirror of
https://github.com/storytold/vectorcraft.git
synced 2026-12-04 13:02:50 -05:00
Object > Plug-ins > Document Tools > Flood Fill Artboards... opens a dialog that previews on the canvas and, on OK, runs the new command addon.document.floodFillArtboards as one undo step. The command adds an editable rectangle exactly the size of the active artboard, of listed artboards or of every artboard, painted with the current fill or a given color and no stroke. The rectangles go on top of a top-level layer named "Flood Fill" (or the name given), which is made at the bottom of the layers when the document has none. A layer that already exists keeps its lock and visibility, and the current layer stays as it was. Every given value is checked: null, wrong types, an empty or too long layer name, a color with alpha, unknown artboards, and artboards together with all are errors. A current fill of None without a color is an error. In a preview, the current fill is the one the preview began with. Docs: docs/mcp.md, ROADMAP.