mermaid.outline.rounded_box

mermaid.outline

rounded_box(cx, cy, hx, hy, rad) -> dist

Build the signed distance to a box with round corners

dist(px, py) is negative inside the box, nought on its outline.