Image

Drawable image type.

Constructors

love.graphics.newImage Creates a new Image.

Functions

These functions have parentheses in odd places. This is because the Image: namespace is reserved in Mediawiki.

(Image):getData Gets the original ImageData or CompressedData used to create the Image. 0.9.0
(Image):getDimensions Gets the width and height of the Image. 0.9.0
(Image):getFilter Gets the filter mode for an image.
(Image):getFlags Gets the flags used when the image was created. 0.10.0
(Image):getHeight Gets the height of the Image.
(Image):getMipmapFilter Gets the mipmap filter mode for an Image. 0.9.0
(Image):getWidth Gets the width of the Image.
(Image):getWrap Gets the wrapping properties of an Image.
(Image):isCompressed Gets whether the Image was created from CompressedData. 0.9.0
(Image):refresh Reloads the Image's contents from the ImageData or CompressedData used to create the image. 0.9.0
(Image):setFilter Sets the filter mode for an image.
(Image):setMipmapFilter Sets the mipmap filter mode for an Image. 0.9.0
(Image):setWrap Sets the wrapping properties of an Image.
Object:type Gets the type of the object as a string.
Object:typeOf Checks whether an object is of a certain type.

Supertypes

See Also


(Image):refresh
  • References/Game Development/LÖVE/love.graphics/Image

(Image):refresh Available since LÖVE 0.9.0 This function is not supported in earlier versions. Reloads the Image's contents from the

2025-01-10 15:47:30
(Image):getFilter
  • References/Game Development/LÖVE/love.graphics/Image

(Image):getFilter Gets the filter mode for an image. Function Synopsis

2025-01-10 15:47:30
(Image):getWrap
  • References/Game Development/LÖVE/love.graphics/Image

(Image):getWrap Gets the wrapping properties of an Image. This function returns the currently set horizontal and vertical

2025-01-10 15:47:30
(Image):getMipmapFilter
  • References/Game Development/LÖVE/love.graphics/Image

(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

2025-01-10 15:47:30
(Image):setMipmapFilter
  • References/Game Development/LÖVE/love.graphics/Image

(Image):setMipmapFilter Available since LÖVE 0.9.0 This function is not supported in earlier versions. Sets the mipmap filter mode for an Image

2025-01-10 15:47:30
(Image):getFlags
  • References/Game Development/LÖVE/love.graphics/Image

(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

2025-01-10 15:47:30
(Image):getData
  • References/Game Development/LÖVE/love.graphics/Image

(Image):getData Available since LÖVE 0.9.0 This function is not supported in earlier versions. Gets the original

2025-01-10 15:47:30
(Image):getWidth
  • References/Game Development/LÖVE/love.graphics/Image

(Image):getWidth Gets the width of the Image. Function Synopsis width

2025-01-10 15:47:30
(Image):getHeight
  • References/Game Development/LÖVE/love.graphics/Image

(Image):getHeight Gets the height of the Image. Function Synopsis

2025-01-10 15:47:30
(Image):setWrap
  • References/Game Development/LÖVE/love.graphics/Image

(Image):setWrap Sets the wrapping properties of an Image. This function sets the way an Image is repeated when it is drawn with a

2025-01-10 15:47:30