ParticleSystem:getPosition

ParticleSystem:getPosition Gets the position of the emitter. Function Synopsis x, y = ParticleSystem:getPosition( ) Arguments None. Returns number x Position along x-axis. number y Position along y-axis. See Also ParticleSystem

PrismaticJoint:setLimits

PrismaticJoint:setLimits Sets the limits. Function Synopsis PrismaticJoint:setLimits( lower, upper ) Arguments number lower The lower limit, usually in meters. number upper The upper limit, usually in meters. Returns Nothing. See Also PrismaticJoint

love.graphics.setLine

love.graphics.setLine Removed in LÖVE 0.9.0 Use love.graphics.setLineWidth and love.graphics.setLineStyle. Sets the line width and style. Function Synopsis love.graphics.setLine( width, style ) Arguments number width The width of the line. LineStyle style ("smooth") The LineStyle to use. Returns Nothing. Example love.graphics.setLine(2, "smooth") love.graphics.line(15, 25, 69, 89) See Also love.graphics love.graphics.setLineWidth love.graphics.setLineStyle

Decoder:getChannels

Decoder:getChannels Returns the number of channels in the stream. Function Synopsis channels = Decoder:getChannels( ) Arguments None. Returns number channels 1 for mono, 2 for stereo. See Also Decoder

CompressedImageData:getDimensions

CompressedImageData:getDimensions Available since LÖVE 0.9.0 This function is not supported in earlier versions. Gets the width and height of the CompressedImageData. Function Synopsis width, height = CompressedImageData:getDimensions( ) Arguments None. Returns number width The width of the CompressedImageData. number height The height of the CompressedImageData. Function Synopsis width, height = CompressedImageData:getDimensions( level ) Arguments number level A mipmap level. Must b

Mesh:setAttributeEnabled

Mesh:setAttributeEnabled Available since LÖVE 0.10.0 This function is not supported in earlier versions. Enables or disables a specific vertex attribute in the Mesh. Vertex data from disabled attributes is not used when drawing the Mesh. Function Synopsis Mesh:setAttributeEnabled( name, enable ) Arguments string name The name of the vertex attribute to enable or disable. boolean enable Whether the vertex attribute is used when drawing this Mesh. Returns Nothing. Notes If a Mesh wasn't

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

Font:getWrap

Font:getWrap Available since LÖVE 0.7.0 This function is not supported in earlier versions. Gets formatting information for text, given a wrap limit. This function accounts for newlines correctly (i.e. '\n'). Function Available since LÖVE 0.10.0 This variant is not supported in earlier versions. Synopsis width, wrappedtext = Font:getWrap( text, wraplimit ) Arguments string text The text that will be wrapped. number wraplimit The maximum width in pixels of each line that text is allo

Body:setActive

Body:setActive Available since LÖVE 0.8.0 This method is not supported in earlier versions. Sets whether the body is active in the world. An inactive body does not take part in the simulation. It will not move or cause any collisions. Function Synopsis Body:setActive( active ) Arguments boolean active If the body is active or not. Returns Nothing. See Also Body

love.filesystem.getSize

love.filesystem.getSize Available since LÖVE 0.9.0 This function is not supported in earlier versions. Gets the size in bytes of a file. Function Synopsis size, errormsg = love.filesystem.getSize( filename ) Arguments string filename The path and name to a file. Returns number size The size in bytes of the file, or nil on failure. string errormsg (nil) The error message on failure. See Also love.filesystem