Talk:love.graphics.rectangle

It it possible to add the same as

love.graphics.draw( drawable, x, y, r, sx, sy, ox, oy, kx, ky ) or love.graphics.printf( text, x, y, limit, align, r, sx, sy, ox, oy, kx, ky )


to love.graphics.rectangle( mode, x, y, width, height, rx, ry, segments )

that we get the rotated rectangle:

love.graphics.rectangle( mode, x, y, width, height, rx, ry, segments, r, ox, oy )

where:

number r (0) Orientation (radians).

number ox (0) Origin offset (x-axis).

number oy (0) Origin offset (y-axis).


--Darkfrei (talk) 19:12, 6 February 2022 (UTC)