1
2
3
4
5
6
7
8
|
#set page(width: auto, height: auto, margin: 6pt, fill: none)
#stack(dir: ltr, spacing: 8pt,
rect(width: 60pt, height: 30pt, stroke: 2pt + red, fill: blue, radius: 5pt),
circle(radius: 16pt, fill: gradient.linear(red, blue)),
circle(radius: 16pt, fill: gradient.radial(yellow, purple)),
line(length: 60pt, stroke: (paint: green, thickness: 3pt, dash: "dashed")),
polygon(fill: teal, stroke: 1pt + white, (0pt, 20pt), (20pt, 0pt), (40pt, 20pt)),
)
|