Since Love2D doesn't support SVG, I'm looking for other ways to create solid, compound shapes. Anything that has straight edges can be drawn using a polygon, but I haven't yet found a way to mask an circle or ellipse, or in other words, subtract a circle or ellipse from the object being drawn. Is this possible with Love2D?
1 Answer
\$\begingroup\$
\$\endgroup\$
I found the answer -- What I was calling a mask is called a stencil in Love2D. See https://love2d.org/wiki/love.graphics.stencil and Make some black pixels transparent in Love2D.