Image

Drawable image type.

Constructors

love.graphics.newImageCreates a new Image.

Functions

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

(Image):getDataGets the original ImageData or CompressedData used to create the Image.Added since 0.9.0
(Image):getDimensionsGets the width and height of the Image.Added since 0.9.0
(Image):getFilterGets the filter mode for an image.
(Image):getHeightGets the height of the Image.
(Image):getMipmapFilterGets the mipmap filter mode for an Image.Added since 0.9.0
(Image):getWidthGets the width of the Image.
(Image):getWrapGets the wrapping properties of an Image.
(Image):isCompressedGets whether the Image was created from CompressedData.Added since 0.9.0
(Image):refreshReloads the Image's contents from the Data used to create the image.Added since 0.9.0
(Image):setFilterSets the filter mode for an image.
(Image):setMipmapFilterSets the mipmap filter mode for an Image.Added since 0.9.0
(Image):setWrapSets the wrapping properties of an Image.
Object:typeGets the type of the object as a string.
Object:typeOfChecks whether an object is of a certain type.

Supertypes

See Also


Other Languages

Personal tools