mirror of
https://github.com/storytold/vectorcraft.git
synced 2026-10-29 20:27:05 -06:00
Pattern Brush Options has a menu below the Outer Corner Tile and the Inner Corner Tile. Each can be the brush's own corner art (Original), None, or one of four tiles made from the side tile at each corner of the path: - Auto-Centered stretches one side tile around the corner, centered on it. - Auto-Between bends a side tile on each side into the corner, the two meeting on the corner's diagonal. - Auto-Sliced lays a side tile on each side past the corner and masks it at the diagonal, so the two meet like a mitered frame. - Auto-Overlap lays a side tile on each side past the corner, overlapping. The tiles are straight at the corner and follow the path towards the side tiles, so they meet a curve that runs into the corner. A side tile taller than the corner can reach is stretched along until the two sides meet. On a short path, a corner's tile is squeezed along so that it covers at most the path up to an open path's end and half way to the next corner, and its two sides still meet on the corner's diagonal. The definition stores the choice as `outer_source` and `inner_source` (`none`, `autoCentered`, `autoBetween`, `autoSliced`, `autoOverlap`), which `brush.options` sets. Corner art wins over a source. A brush saved without a source draws as before: a kind of corner without art takes the other kind's art. None leaves that kind of corner empty. Docs: docs/mcp.md, docs/target-app-parity.md.