(Image):getMipmapFilter

(Image):getMipmapFilter Available since LÖVE 0.9.0 This function is not supported in earlier versions. Gets the mipmap filter mode for an Image. Function Synopsis mode, sharpness = Image:getMipmapFilter( ) Arguments None. Returns FilterMode mode The filter mode used in between mipmap levels. nil if mipmap filtering is not enabled. number sharpness Value used to determine whether the image should use more or less detailed mipmap levels than normal when drawing. See Also Image Image:

(Image):getHeight

(Image):getHeight Gets the height of the Image. Function Synopsis height = Image:getHeight( ) Arguments None. Returns number height The height of the Image, in pixels. See Also Image

(Image):getFlags

(Image):getFlags Available since LÖVE 0.10.0 This function is not supported in earlier versions. Gets the flags used when the image was created. Function Synopsis flags = Image:getFlags( ) Arguments None. Returns table flags A table with ImageFlag keys. See Also Image love.graphics.newImage

(Image):getFilter

(Image):getFilter Gets the filter mode for an image. Function Synopsis min, mag = Image:getFilter( ) Arguments None. Returns FilterMode min Filter mode used when minifying the image. FilterMode mag Filter mode used when magnifying the image. Function Available since LÖVE 0.9.0 This variant is not supported in earlier versions. Synopsis min, mag, anisotropy = Image:getFilter( ) Arguments None. Returns FilterMode min Filter mode used when minifying the image. FilterMode mag Filter mo

(Image):getDimensions

(Image):getDimensions Available since LÖVE 0.9.0 This function is not supported in earlier versions. Gets the width and height of the Image. Function Synopsis width, height = Image:getDimensions( ) Arguments None. Returns number width The width of the Image, in pixels. number height The height of the Image, in pixels. See Also Image

(Image):getData

(Image):getData Available since LÖVE 0.9.0 This function is not supported in earlier versions. Gets the original ImageData or CompressedData used to create the Image. All Images keep a reference to the Data that was used to create the Image. The Data is used to refresh the Image when love.window.setMode or Image:refresh is called. Function Synopsis data = Image:getData( ) Arguments None. Returns ImageData data The original ImageData used to create the Image, if the image is not compress

(File):write

(File):write Write data to a file. Function Synopsis success, err = File:write( data, size ) Arguments string data The string data to write. number size (all) How many bytes to write. Returns boolean success Whether the operation was successful. string err The error string if an error occurred. Function Synopsis success, err = File:write( data, size ) Arguments Data data The Data object to write. number size (all) How many bytes to write. Returns boolean success Whether the operat

(File):tell

(File):tell Returns the position in the file Function Synopsis pos = File:tell( ) Arguments None. Returns number pos The current position See Also File

(File):setBuffer

(File):setBuffer Available since LÖVE 0.9.0 This function is not supported in earlier versions. Sets the buffer mode for a file opened for writing or appending. Files with buffering enabled will not write data to the disk until the buffer size limit is reached, depending on the buffer mode. File:flush will force any buffered data to be written to the disk. Function Synopsis success, errorstr = File:setBuffer( mode, size ) Arguments BufferMode mode The buffer mode to use. number size (0)

(File):seek

(File):seek Seek to a position in a file Function Synopsis success = File:seek( pos ) Arguments number pos The position to seek to Returns boolean success Whether the operation was successful See Also File