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

239 lines
6.8 KiB
Lua

--------------------------------
-- @module Label
--------------------------------
-- @function [parent=#Label] enableShadow
-- @param self
--------------------------------
-- @function [parent=#Label] setDimensions
-- @param self
-- @param #unsigned int int
-- @param #unsigned int int
--------------------------------
-- @function [parent=#Label] getFontSize
-- @param self
-- @return int#int ret (return value: int)
--------------------------------
-- @function [parent=#Label] getString
-- @param self
-- @return string#string ret (return value: string)
--------------------------------
-- @function [parent=#Label] disableEffect
-- @param self
--------------------------------
-- @function [parent=#Label] getWidth
-- @param self
-- @return unsigned int#unsigned int ret (return value: unsigned int)
--------------------------------
-- @function [parent=#Label] getCommonLineHeight
-- @param self
-- @return int#int ret (return value: int)
--------------------------------
-- @function [parent=#Label] setWidth
-- @param self
-- @param #unsigned int int
--------------------------------
-- @function [parent=#Label] setFontName
-- @param self
-- @param #string str
--------------------------------
-- @function [parent=#Label] getMaxLineWidth
-- @param self
-- @return unsigned int#unsigned int ret (return value: unsigned int)
--------------------------------
-- @function [parent=#Label] getHorizontalAlignment
-- @param self
-- @return TextHAlignment#TextHAlignment ret (return value: cc.TextHAlignment)
--------------------------------
-- @function [parent=#Label] setString
-- @param self
-- @param #string str
--------------------------------
-- @function [parent=#Label] getHeight
-- @param self
-- @return unsigned int#unsigned int ret (return value: unsigned int)
--------------------------------
-- @function [parent=#Label] setBMFontFilePath
-- @param self
-- @param #string str
-- @param #point_table point
-- @return bool#bool ret (return value: bool)
--------------------------------
-- @function [parent=#Label] getFontDefinition
-- @param self
-- @return FontDefinition#FontDefinition ret (return value: cc.FontDefinition)
--------------------------------
-- @function [parent=#Label] getFontName
-- @param self
-- @return string#string ret (return value: string)
--------------------------------
-- @function [parent=#Label] updateContent
-- @param self
--------------------------------
-- @function [parent=#Label] getStringLength
-- @param self
-- @return int#int ret (return value: int)
--------------------------------
-- @function [parent=#Label] setLineBreakWithoutSpace
-- @param self
-- @param #bool bool
--------------------------------
-- @function [parent=#Label] getStringNumLines
-- @param self
-- @return int#int ret (return value: int)
--------------------------------
-- @function [parent=#Label] enableOutline
-- @param self
-- @param #color4B_table color4b
-- @param #int int
--------------------------------
-- overload function: setCharMap(cc.Texture2D, int, int, int)
--
-- overload function: setCharMap(string, int, int, int)
--
-- overload function: setCharMap(string)
--
-- @function [parent=#Label] setCharMap
-- @param self
-- @param #string str
-- @param #int int
-- @param #int int
-- @param #int int
-- @return bool#bool ret (retunr value: bool)
--------------------------------
-- @function [parent=#Label] getDimensions
-- @param self
-- @return size_table#size_table ret (return value: size_table)
--------------------------------
-- @function [parent=#Label] setMaxLineWidth
-- @param self
-- @param #unsigned int int
--------------------------------
-- @function [parent=#Label] setVerticalAlignment
-- @param self
-- @param #cc.TextVAlignment textvalignment
--------------------------------
-- @function [parent=#Label] setFontSize
-- @param self
-- @param #int int
--------------------------------
-- @function [parent=#Label] getVerticalAlignment
-- @param self
-- @return TextVAlignment#TextVAlignment ret (return value: cc.TextVAlignment)
--------------------------------
-- @function [parent=#Label] setHeight
-- @param self
-- @param #unsigned int int
--------------------------------
-- @function [parent=#Label] enableGlow
-- @param self
-- @param #color3B_table color3b
--------------------------------
-- @function [parent=#Label] getLetter
-- @param self
-- @param #int int
-- @return Sprite#Sprite ret (return value: cc.Sprite)
--------------------------------
-- @function [parent=#Label] getTextAlignment
-- @param self
-- @return TextHAlignment#TextHAlignment ret (return value: cc.TextHAlignment)
--------------------------------
-- @function [parent=#Label] setHorizontalAlignment
-- @param self
-- @param #cc.TextHAlignment texthalignment
--------------------------------
-- @function [parent=#Label] setFontDefinition
-- @param self
-- @param #cc.FontDefinition fontdefinition
--------------------------------
-- overload function: setAlignment(cc.TextHAlignment, cc.TextVAlignment)
--
-- overload function: setAlignment(cc.TextHAlignment)
--
-- @function [parent=#Label] setAlignment
-- @param self
-- @param #cc.TextHAlignment texthalignment
-- @param #cc.TextVAlignment textvalignment
--------------------------------
-- @function [parent=#Label] createWithBMFont
-- @param self
-- @param #string str
-- @param #string str
-- @param #cc.TextHAlignment texthalignment
-- @param #int int
-- @param #point_table point
-- @return Label#Label ret (return value: cc.Label)
--------------------------------
-- overload function: create(string, string, float, size_table, cc.TextHAlignment, cc.TextVAlignment)
--
-- overload function: create()
--
-- @function [parent=#Label] create
-- @param self
-- @param #string str
-- @param #string str
-- @param #float float
-- @param #size_table size
-- @param #cc.TextHAlignment texthalignment
-- @param #cc.TextVAlignment textvalignment
-- @return Label#Label ret (retunr value: cc.Label)
--------------------------------
-- overload function: createWithCharMap(cc.Texture2D, int, int, int)
--
-- overload function: createWithCharMap(string, int, int, int)
--
-- overload function: createWithCharMap(string)
--
-- @function [parent=#Label] createWithCharMap
-- @param self
-- @param #string str
-- @param #int int
-- @param #int int
-- @param #int int
-- @return Label#Label ret (retunr value: cc.Label)
--------------------------------
-- @function [parent=#Label] createWithFontDefinition
-- @param self
-- @param #string str
-- @param #cc.FontDefinition fontdefinition
-- @return Label#Label ret (return value: cc.Label)
return nil