2014-03-10 14:04:58 +08:00
|
|
|
|
|
|
|
--------------------------------
|
|
|
|
-- @module Image
|
2014-03-20 10:21:28 +08:00
|
|
|
-- @extend Ref
|
2014-03-18 15:55:30 +08:00
|
|
|
|
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
|