mirror of
https://github.com/storytold/photocraft.git
synced 2026-11-21 01:18:43 +00:00
The shape Fill / Stroke swatches (options bar and Properties) offer No Color, Solid and Gradient, as Photoshop's popover does, for the next shape and the selected one. The Gradient tab (shape_gradient_ui.rs) has a Recent row, the preset library, a stops strip (click to add a colour or opacity stop, drag to move, drag off to delete, midpoints) with the selected stop's colour, opacity, location and Delete, and style, angle, scale, Reverse and Align with layer. Stop edits reuse the Gradient Editor's apply_stop. shape.create / shape.edit take and report every gradient field (opacityStops, midpoints, offset, dither, align), so editing an imported gradient keeps the rest. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>