Image (Tiếng Việt)
Kiểu hình ảnh vẽ được.
Constructor
love.graphics.newArrayImage | Creates a new array Image. |
love.graphics.newCubeImage | Creates a new cubemap Image. |
love.graphics.newImage | Creates a new Image. |
love.graphics.newVolumeImage | Creates 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):getData | Gets the original ImageData or CompressedData used to create the Image. |
(Image):getFlags | Gets the flags used when the image was created. |
(Image):isCompressed | Gets whether the Image was created from CompressedData. |
(Image):isFormatLinear | Gets whether the Image was created with a the linear (non-gamma corrected) flag set to true. |
(Image):refresh | Reloads the Image's contents from the ImageData or CompressedData used to create the image. |
(Image):replacePixels | Replace the contents of an Image. |
Object:release | Immediately destroys the object's Lua reference. |
Object:type | Gets the type of the object as a string. |
Object:typeOf | Checks whether an object is of a certain type. |
Kiểu cấp trên
Xem thêm
Ngôn ngữ khác
Dansk –
Deutsch –
English –
Español –
Français –
Indonesia –
Italiano –
Lietuviškai –
Magyar –
Nederlands –
Polski –
Português –
Română –
Slovenský –
Suomi –
Svenska –
Türkçe –
Česky –
Ελληνικά –
Български –
Русский –
Српски –
Українська –
עברית –
ไทย –
日本語 –
正體中文 –
简体中文 –
Tiếng Việt –
한국어
More info