Image (Tiếng Việt)

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

Constructor

love.graphics.newImage Creates a new Image from a file path.

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):getFilter Gets the filter mode for an image.
(Image):getHeight Returns the height of the Image.
(Image):getWidth Returns the width of the Image.
(Image):getWrap Gets the wrapping properties of an Image.
(Image):setFilter Sets the filter mode for an image.
(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.


Kiểu cấp trên

Xem thêm


Ngôn ngữ khác

Personal tools