Add radius parameter to block #12
@@ -1,7 +1,7 @@
|
|||||||
#import "@preview/cetz:0.3.2": draw
|
#import "@preview/cetz:0.3.2": draw
|
||||||
#import "element.typ"
|
#import "element.typ"
|
||||||
|
|
||||||
#let draw-shape(id, tl, tr, br, bl, fill, stroke, radius) = {
|
#let draw-shape(id, tl, tr, br, bl, fill, stroke, radius: 0.5em) = {
|
||||||
let f = draw.rect(
|
let f = draw.rect(
|
||||||
radius: radius,
|
radius: radius,
|
||||||
inset: 0.5em,
|
inset: 0.5em,
|
||||||
|
Reference in New Issue
Block a user