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

182 lines
5.1 KiB
Lua

--------------------------------
-- @module Sprite
--------------------------------
-- overload function: setSpriteFrame(cc.SpriteFrame)
--
-- overload function: setSpriteFrame(string)
--
-- @function [parent=#Sprite] setSpriteFrame
-- @param self
-- @param #string str
--------------------------------
-- overload function: setTexture(cc.Texture2D)
--
-- overload function: setTexture(string)
--
-- @function [parent=#Sprite] setTexture
-- @param self
-- @param #string str
--------------------------------
-- @function [parent=#Sprite] getTexture
-- @param self
-- @return Texture2D#Texture2D ret (return value: cc.Texture2D)
--------------------------------
-- @function [parent=#Sprite] setFlippedY
-- @param self
-- @param #bool bool
--------------------------------
-- @function [parent=#Sprite] setFlippedX
-- @param self
-- @param #bool bool
--------------------------------
-- @function [parent=#Sprite] getBatchNode
-- @param self
-- @return SpriteBatchNode#SpriteBatchNode ret (return value: cc.SpriteBatchNode)
--------------------------------
-- @function [parent=#Sprite] getOffsetPosition
-- @param self
-- @return point_table#point_table ret (return value: point_table)
--------------------------------
-- @function [parent=#Sprite] removeAllChildrenWithCleanup
-- @param self
-- @param #bool bool
--------------------------------
-- @function [parent=#Sprite] updateTransform
-- @param self
--------------------------------
-- overload function: setTextureRect(rect_table, bool, size_table)
--
-- overload function: setTextureRect(rect_table)
--
-- @function [parent=#Sprite] setTextureRect
-- @param self
-- @param #rect_table rect
-- @param #bool bool
-- @param #size_table size
--------------------------------
-- @function [parent=#Sprite] isFrameDisplayed
-- @param self
-- @param #cc.SpriteFrame spriteframe
-- @return bool#bool ret (return value: bool)
--------------------------------
-- @function [parent=#Sprite] getAtlasIndex
-- @param self
-- @return long#long ret (return value: long)
--------------------------------
-- @function [parent=#Sprite] setBatchNode
-- @param self
-- @param #cc.SpriteBatchNode spritebatchnode
--------------------------------
-- @function [parent=#Sprite] setDisplayFrameWithAnimationName
-- @param self
-- @param #string str
-- @param #long long
--------------------------------
-- @function [parent=#Sprite] setTextureAtlas
-- @param self
-- @param #cc.TextureAtlas textureatlas
--------------------------------
-- @function [parent=#Sprite] getSpriteFrame
-- @param self
-- @return SpriteFrame#SpriteFrame ret (return value: cc.SpriteFrame)
--------------------------------
-- @function [parent=#Sprite] isDirty
-- @param self
-- @return bool#bool ret (return value: bool)
--------------------------------
-- @function [parent=#Sprite] setAtlasIndex
-- @param self
-- @param #long long
--------------------------------
-- @function [parent=#Sprite] setDirty
-- @param self
-- @param #bool bool
--------------------------------
-- @function [parent=#Sprite] isTextureRectRotated
-- @param self
-- @return bool#bool ret (return value: bool)
--------------------------------
-- @function [parent=#Sprite] getTextureRect
-- @param self
-- @return rect_table#rect_table ret (return value: rect_table)
--------------------------------
-- @function [parent=#Sprite] getTextureAtlas
-- @param self
-- @return TextureAtlas#TextureAtlas ret (return value: cc.TextureAtlas)
--------------------------------
-- @function [parent=#Sprite] isFlippedX
-- @param self
-- @return bool#bool ret (return value: bool)
--------------------------------
-- @function [parent=#Sprite] isFlippedY
-- @param self
-- @return bool#bool ret (return value: bool)
--------------------------------
-- @function [parent=#Sprite] setVertexRect
-- @param self
-- @param #rect_table rect
--------------------------------
-- overload function: create(string)
--
-- overload function: create()
--
-- overload function: create(string, rect_table)
--
-- @function [parent=#Sprite] create
-- @param self
-- @param #string str
-- @param #rect_table rect
-- @return Sprite#Sprite ret (retunr value: cc.Sprite)
--------------------------------
-- overload function: createWithTexture(cc.Texture2D, rect_table, bool)
--
-- overload function: createWithTexture(cc.Texture2D)
--
-- @function [parent=#Sprite] createWithTexture
-- @param self
-- @param #cc.Texture2D texture2d
-- @param #rect_table rect
-- @param #bool bool
-- @return Sprite#Sprite ret (retunr value: cc.Sprite)
--------------------------------
-- @function [parent=#Sprite] createWithSpriteFrameName
-- @param self
-- @param #string str
-- @return Sprite#Sprite ret (return value: cc.Sprite)
--------------------------------
-- @function [parent=#Sprite] createWithSpriteFrame
-- @param self
-- @param #cc.SpriteFrame spriteframe
-- @return Sprite#Sprite ret (return value: cc.Sprite)
return nil