-------------------------------- -- @module Image -- @extend Ref -- @parent_module cc -------------------------------- -- @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