typst/tests/typ/visualize/shape-rounded.typ

7 lines
122 B
XML

// Test rounded rectangles and squares.
---
// Ensure that radius is clamped.
#rect(radius: -20pt)
#square(radius: 30pt)