mirror of
https://github.com/storytold/designcraft.git
synced 2026-10-31 05:36:46 -06:00
A frame takes the corner options and Text Frame Options it doesn't write from its applied object style, the styles that one is based on, then [None]: IDML frames write only what differs from their style. Each corner's shape and radius resolve separately, item first; at each level a per-corner attribute wins over the legacy CornerOption / CornerRadius pair, so a frame that writes one corner keeps the style's other corners, and a shape without a radius takes the chain's (12 pt at the root). Fill and stroke lookups end at [None] too. Checked, unchanged: corner radii are drawn clamped to half the shorter side as circular arcs, and inside-aligned strokes are the stroke of the path inset by half the weight (screen and PDF); tests pin both.