Image (Tiếng Việt)

Kiểu hình ảnh vẽ được.

Constructor

love.graphics.newArrayImageCreates a new array Image.
love.graphics.newCubeImageCreates a new cubemap Image.
love.graphics.newImageCreates a new Image.
love.graphics.newVolumeImageCreates a new volume Image.

Hàm

Những hàm này có cặp ngoặc tròn viết rất lạ. Đó là do không gian tên Image: đã được dành riêng cho Mediawiki.

(Image):getDataGets the original ImageData or CompressedData used to create the Image.
(Image):getFlagsGets the flags used when the image was created.
(Image):isCompressedGets whether the Image was created from CompressedData.
(Image):isFormatLinearGets whether the Image was created with a the linear (non-gamma corrected) flag set to true.
(Image):refreshReloads the Image's contents from the ImageData or CompressedData used to create the image.
(Image):replacePixelsReplace the contents of an Image.
Object:releaseImmediately destroys the object's Lua reference.
Object:typeGets the type of the object as a string.
Object:typeOfChecks whether an object is of a certain type.

Kiểu cấp trên

Xem thêm


Ngôn ngữ khác