Shape fill with custom pattern
Hi,
I saw it's possible to fill a shape with a solid or gradient color.
Could custom patterns be supported too?
Here's a screenshot from Excalidraw:

Thanks!
This will be possible with the node system in the future by generating any kind of pattern you'd like.
This will be possible with the node system in the future by generating any kind of pattern you'd like.
Now we have the node system we probably need to think about how we add this to the vector data format.
Yup! One consideration is just the rendering aspect (Vello and SVG, the latter of which will require SVG's masking feature). The other consideration is perhaps how to encode the repeating pattern starting point. Also, merging this conceptually with gradients would be useful too.
Note that in svg there is the pattern element https://developer.mozilla.org/en-US/docs/Web/SVG/Tutorial/Patterns
Oh yes, good point.