axmol/cocos/scripting/lua-bindings/auto/api/Image.lua

75 lines
2.1 KiB
Lua
Raw Normal View History

2014-03-10 14:04:58 +08:00
--------------------------------
-- @module Image
-- @extend Ref
-- @parent_module cc
2014-03-10 14:04:58 +08:00
--------------------------------
-- @function [parent=#Image] hasPremultipliedAlpha
-- @param self
-- @return bool#bool ret (return value: bool)
--------------------------------
-- @function [parent=#Image] saveToFile
-- @param self
-- @param #string str
-- @param #bool bool
-- @return bool#bool ret (return value: bool)
--------------------------------
-- @function [parent=#Image] getBitPerPixel
-- @param self
-- @return int#int ret (return value: int)
--------------------------------
-- @function [parent=#Image] hasAlpha
-- @param self
-- @return bool#bool ret (return value: bool)
--------------------------------
-- @function [parent=#Image] isCompressed
-- @param self
-- @return bool#bool ret (return value: bool)
--------------------------------
-- @function [parent=#Image] getHeight
-- @param self
-- @return int#int ret (return value: int)
--------------------------------
-- @function [parent=#Image] initWithImageFile
-- @param self
-- @param #string str
-- @return bool#bool ret (return value: bool)
--------------------------------
-- @function [parent=#Image] getWidth
-- @param self
-- @return int#int ret (return value: int)
--------------------------------
-- @function [parent=#Image] isPremultipliedAlpha
-- @param self
-- @return bool#bool ret (return value: bool)
--------------------------------
-- @function [parent=#Image] getFileType
-- @param self
-- @return Image::Format#Image::Format ret (return value: cc.Image::Format)
--------------------------------
-- @function [parent=#Image] getNumberOfMipmaps
-- @param self
-- @return int#int ret (return value: int)
--------------------------------
-- @function [parent=#Image] getRenderFormat
-- @param self
-- @return Texture2D::PixelFormat#Texture2D::PixelFormat ret (return value: cc.Texture2D::PixelFormat)
--------------------------------
-- @function [parent=#Image] Image
-- @param self
return nil