love.graphics
Functions
| setColor( color ) | Sets the current color. |
| setColor( red, green, blue ) | Sets the current color. |
| setColor( red, green, blue, alpha ) | Sets the current color. |
| setBackgroundColor( color ) | Sets the background color. |
| setBackgroundColor( red, green, blue ) | Sets the background color. |
| setFont( font ) | Sets the current font. |
| draw( string, x, y ) | Draws text on screen. |
| draw( string, x, y, limit ) | Draws text on screen, with word wrap. |
| draw( string, x, y, limit, align ) | Draws text on screen, with word wrap and alignment. |
| draw( sprite, x, y ) | Draws an Image or Animation on screen. |
| draw( sprite, x, y, angle ) | Draws a rotated Image or Animation on screen. |
| draw( sprite, x, y, angle, s ) | Draws a rotated/scaled Image or Animation on screen. |
| draw( sprite, x, y, angle, sx, sy ) | Draws a rotated/scaled Image or Animation on screen. |
| drawLine( xpos, ypos, x1, y1, x2, y2 ) | Draws a line between the two points. |
| drawLine( xpos, ypos, x1, y1, x2, y2, width ) | Draws a line between the two points with a certain thickness. |
| drawTriangle( xpos, ypos, x1, y1, x2, y2, x3, y3 ) | Draws a triangle using lines between the points. |
| drawTriangle( xpos, ypos, x1, y1, x2, y2, x3, y3, width ) | Draws a triangle using lines of a determined thickness between the points. |
| fillTriangle( xpos, ypos, x1, y1, x2, y2, x3, y3 ) | Draws a filled triangle determined by the points. |
| drawQuad( xpos, ypos, x1, y1, x2, y2, x3, y3, x4, y4 ) | Draws a quadrilateral using lines between the points. |
| drawQuad( xpos, ypos, x1, y1, x2, y2, x3, y3, x4, y4, width ) | Draws a quadrilateral using lines of a determined thickness between the points. |
| fillQuad( xpos, ypos, x1, y1, x2, y2, x3, y3, x4, y4 ) | Draws a filled quadrilateral determined by the the points. |
| drawCircle( xpos, ypos, radius ) | Draws a circle using lines around the center point. |
| drawCircle( xpos, ypos, radius, points ) | Draws a circle using lines around the center point. |
| drawCircle( xpos, ypos, radius, points, width ) | Draws a circle using lines around the center point. |
| fillCircle( xpos, ypos, radius ) | Draws a filled circle around the center point. |
| fillCircle( xpos, ypos, radius, points ) | Draws a filled circle around the center point. |
| setBlendMode( mode ) | Sets the blending mode. |
| setColorMode( mode ) | Sets the color mode. |