Skip to content

love.graphics_draw

oblerion edited this page Dec 16, 2022 · 3 revisions

call

love.graphics_draw(object ,x ,y ,r);
love.graphics_draw(object ,x ,y ,r ,sx ,sy);
love.graphics_draw(object ,quad ,x ,y ,r ,sx ,sy);

parameter

  • object : Image or Video object
  • quad : quad object create by love.graphics_newQuad()
  • x : x position
  • y : y position
  • r : rotate in radiant (0 if not rotate)
  • sx : width size on screen
  • sy : height size on screen

what is do

draw image object at screen or part of image object (quad)

Clone this wiki locally