Oregami
Repositories/oxedyne/fe2o3

oxedyne/fe2o3/fe2o3_austenite/tests/fixtures/ink/block_clip.typ

398 bytes, 1 run

created by r1870400018:65150, which is this file's identity for as long as the history lasts, whatever it is later renamed to

download · who wrote it · its history

1// A clipping block cuts to its inner stroke edge with rounded corners.
2#set page(width: 300pt, height: 200pt, margin: 25pt)
3#block(width: 3cm, height: 1.5cm, clip: true, radius: 10pt, stroke: 3pt + red)[#rect(width: 6cm, height: 4cm, fill: orange)]
4#block(width: 3cm, height: 1.5cm, clip: true, inset: 4pt, stroke: (left: 4pt + blue), fill: luma(240))[#rect(width: 6cm, height: 4cm, fill: green)]