Documentation
Introduction
Getting Started
Game Distribution
Config Files
License
Documentation Guide
Modules
love
love.audio
love.event
love.filesystem
love.graphics
love.image
love.joystick
love.keyboard
love.mouse
love.physics
love.sound
love.timer
Callbacks
love.joystickreleased
love.joystickpressed
love.load
love.update
love.draw
love.keypressed
love.keyreleased
love.mousepressed
love.mousereleased
love.run
Edit
Function (Group)
love.graphics.newImage
Overloads
newImage( filename )
Creates a new Image from a file path. Note that the x and y dimensions of the image must (currently) be a power of 2, or some graphics cards will not display it.
newImage( file )
Creates a new Image from a File. Note that the x and y dimensions of the image must (currently) be a power of 2, or some graphics cards will not display it.
newImage( data )
Creates a new Image from an ImageData. Note that the x and y dimensions of the image must (currently) be a power of 2, or some graphics cards will not display it.
Copyright © 2006-2010 LÖVE Development Team.
Visit Homepage
–
Ask a Question