mirror of
https://github.com/storytold/vectorcraft.git
synced 2026-12-04 21:12:57 -05:00
A star drawn with the Star tool, shape.star or addon.shapes.star was a plain path, so its point count could not change after it was drawn. - LiveShape::Star keeps the outer and inner radii, the point count (2 to 1000, clamped when read from a file) and Live Corners' radii and kinds. Its corners keep the radius they shared through a new count. - object.setLiveShape takes `points` (2 to 1000) and `ratio` (inner radius over outer radius, above 0 and up to 1), one undo step each and none when nothing changes. A new layout drops the star's selected anchors and segments; `points` with `radius` or `kind` is an error. - The side widget shows on a live star and sets 3 to 20 points. - Star Properties in the Transform panel and the Properties panel's Transform section have a Points field with a 3 to 20 slider and a Ratio field. - Shape Tools' configure keeps a whole star live. Fixes #4339