Search found 1 match

by parity
Thu Dec 23, 2021 5:13 pm
Forum: General
Topic: How can i set a background image for a rectangle
Replies: 3
Views: 3368

How can i set a background image for a rectangle

I have this rectangle i drew using this function love.graphics.rectangle("line", center[1]+100, center[2]-50, 200, 100, 1, 5) I made a pattern that i want to set as the background of the rectangle, i know i can just put the image at the same position but i want it to respect the radius, ho...