mirror of
https://github.com/storytold/designcraft.git
synced 2026-11-14 22:35:26 +00:00
An object style now carries Corner Options (`corners`, in a rectangle's path order). New styles
take them from the selection, applying the style sets them, and IDML reads and writes them as
InDesign's Stroke & Corner Options (EnableStrokeAndCornerOptions, TopLeftCornerOption…).
style.object.edit changes more than effects: `fill` (a swatch or {swatch, tint}), `stroke` (fields
merged over the style's), `corners` ({shape, size} or four corners), null to stop setting one, and
`rename` (every use follows; built-in names and names in use are refused). Items using the style
follow each changed attribute while they have the style's value; overridden ones keep theirs.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>