#Is there a way to pre-calculate the size a Cetz object might take?
2 messages · Page 1 of 1 (latest)
Yes, you can calculate the size (using process.many(...) and use the returned bounds), but I guess a simpler solution could work for you:
Use anchors of your shape. Wrap your shape in a group(name: "my-shape", ...) and use border anchors of that group. E.g. circle("my-shape.south-east").