Round four · 16 October · commit 0109db6
Shape the FinishNew
Enjoy the finishing touches. Move a gradient’s colour stops on the shape, round each corner as you like and give a shadow more or less reach.



Tested in Oltra
e2e/round4.ts hovers a 200 by 120 rectangle and drags its top-left radius handle 12 px in: the pill reads Radius 12 and all four corners are 12; Alt on the bottom-right handle 8 px further gives 12, 12, 20 and 12, the pill reads Bottom right 20, R reads Mixed, the Inspect CSS prints border-radius: 12px 12px 20px 12px; and the SVG export draws a path from M12 0; R set to 6 makes them even again; a shadow with spread 8 draws 1 feMorphology on the canvas and prints box-shadow: 0px 4px 12px 8px; a linear fill row picked in the inspector puts its line on the canvas, its end dragged turns it from 90° to 0°, a click on the line adds a stop at 50%, the stop dragged lands on 25% with its inspector row ringed, #ff0000 typed there colours the dot, Delete leaves 2 stops and the layer, Ctrl+Z brings 3 back and Escape puts the handles away. Stills r4-corners.png, r4-shadow-spread.png, r4-gradient-handles.png
Before You Begin
These notes describe the feature when it was tested on 16 October. Later updates may extend it.
- A linear gradient keeps the model it had: an angle across the whole box, so its line turns about the centre and its length and centre do not move. A radial gradient is a circle, so its end sets one reach. The 0% and 100% stops ride the line's ends and are slid inward from the inspector; only the stops between them drag on the canvas. The handles cover one selected layer, never an instance, and radius handles show on a rectangle, frame or image at least 40 px on screen. Where an export cannot honour these: PDF draws no shadows at all, as before, since svg2pdf has no SVG filters, so spread is moot there; PowerPoint and Lottie leave shadows out, as before, and now draw four corners as a path; SwiftUI and Compose shadows have no spread, so it is left out with a comment in the code; UnevenRoundedRectangle needs iOS 17. SVG, PNG, HTML, CSS and Tailwind carry both.GAPS-4-2026-10-16.md:20 · 16 Oct