love.audio.rewind

love.audio.rewind Rewinds all playing audio. Function Synopsis love.audio.rewind( ) Arguments None. Returns Nothing. Function Synopsis love.audio.rewind( source ) Arguments Source source The source to rewind. Returns Nothing. See Also love.audio

Video:getHeight

Video:getHeight Available since LÖVE 0.10.0 This function is not supported in earlier versions. Gets the height of the Video in pixels. Function Synopsis height = Video:getHeight( ) Arguments None. Returns number height The height of the Video. See Also Video Video:getWidth Video:getDimensions

Canvas:clear

Canvas:clear Available since LÖVE 0.8.0 and removed in LÖVE 0.10.0 It has been replaced by love.graphics.clear. Clears the contents of a Canvas to a specific color. Calling this function directly after the Canvas becomes active (via love.graphics.setCanvas or Canvas:renderTo) is more efficient than calling it when the Canvas isn't active, especially on mobile devices. love.graphics.setScissor will restrict the area of the Canvas that this function affects. Function Clear the canvas to tr

ParticleSystem:isPaused

ParticleSystem:isPaused Available since LÖVE 0.9.0 This function is not supported in earlier versions. Checks whether the particle system is paused. Function Synopsis paused = ParticleSystem:isPaused( ) Arguments None. Returns boolean paused True if system is paused, false otherwise. See Also ParticleSystem ParticleSystem:isActive ParticleSystem:isStopped

RevoluteJoint:getMotorSpeed

RevoluteJoint:getMotorSpeed Gets the motor speed. Function Synopsis s = RevoluteJoint:getMotorSpeed( ) Arguments None. Returns number s The motor speed, radians per second. See Also RevoluteJoint

love.physics.getDistance

love.physics.getDistance Available since LÖVE 0.8.0 This function is not supported in earlier versions. Returns the two closest points between two fixtures and their distance. This function does not work correctly in 0.8.0 and may terminate LÖVE without errors. Function Synopsis distance, x1, y1, x2, y2 = love.physics.getDistance( fixture1, fixture2 ) Arguments Fixture fixture1 The first fixture. Fixture fixture2 The second fixture. Returns number distance The distance of the two poi

Video:tell

Video:tell Available since LÖVE 0.10.0 This function is not supported in earlier versions. Gets the current playback position of the Video. Function Synopsis seconds = Video:tell( ) Arguments None. Returns number seconds The time in seconds since the beginning of the Video. See Also Video Video:rewind Video:seek

love.window.setFullscreen

love.window.setFullscreen Available since LÖVE 0.9.0 This function is not supported in earlier versions. Enters or exits fullscreen. The display to use when entering fullscreen is chosen based on which display the window is currently in, if multiple monitors are connected. Function Synopsis success = love.window.setFullscreen( fullscreen ) Arguments boolean fullscreen Whether to enter or exit fullscreen mode. Returns boolean success True if successful, false otherwise. Function Synop

love.graphics.rectangle

love.graphics.rectangle Draws a rectangle. Function Synopsis love.graphics.rectangle( mode, x, y, width, height ) Arguments DrawMode mode How to draw the rectangle. number x The position of top-left corner along the x-axis. number y The position of top-left corner along the y-axis. number width Width of the rectangle. number height Height of the rectangle. Returns Nothing. Function Available since LÖVE 0.10.0 This variant is not supported in earlier versions. Draws a rectangle with

Channel:count

Channel:count Available since LÖVE 0.9.0 This function is not supported in earlier versions. Retrieves the number of messages in the thread Channel queue. Function Synopsis value = Channel:getCount( ) Arguments None. Returns number count The number of messages in the queue. See Also Channel Channel:pop