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

89 lines
2.5 KiB
Lua
Raw Normal View History

2014-03-10 14:04:58 +08:00
--------------------------------
-- @module Image
-- @extend Ref
2014-03-10 14:04:58 +08:00
--------------------------------
-- @function [parent=#Image] hasPremultipliedAlpha
-- @param self
-- @return bool#bool ret (return value: bool)
--------------------------------
-- @function [parent=#Image] getDataLen
-- @param self
-- @return long#long ret (return value: long)
--------------------------------
-- @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] getData
-- @param self
-- @return unsigned char#unsigned char ret (return value: unsigned char)
--------------------------------
-- @function [parent=#Image] getMipmaps
-- @param self
-- @return _MipmapInfo#_MipmapInfo ret (return value: cc._MipmapInfo)
--------------------------------
-- @function [parent=#Image] Image
-- @param self
return nil