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

356 lines
10 KiB
Lua

--------------------------------
-- @module Label
-- @extend SpriteBatchNode,LabelProtocol
--------------------------------
-- @function [parent=#Label] isClipMarginEnabled
-- @param self
-- @return bool#bool ret (return value: bool)
--------------------------------
-- @function [parent=#Label] enableShadow
-- @param self
--------------------------------
-- @function [parent=#Label] setDimensions
-- @param self
-- @param #unsigned int int
-- @param #unsigned int int
--------------------------------
-- @function [parent=#Label] getString
-- @param self
-- @return string#string ret (return value: string)
--------------------------------
-- @function [parent=#Label] getHeight
-- @param self
-- @return unsigned int#unsigned int ret (return value: unsigned int)
--------------------------------
-- @function [parent=#Label] disableEffect
-- @param self
--------------------------------
-- @function [parent=#Label] setTTFConfig
-- @param self
-- @param #cc._ttfConfig _ttfconfig
-- @return bool#bool ret (return value: bool)
--------------------------------
-- @function [parent=#Label] getTextColor
-- @param self
-- @return color4b_table#color4b_table ret (return value: color4b_table)
--------------------------------
-- @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] 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] setClipMarginEnabled
-- @param self
-- @param #bool bool
--------------------------------
-- @function [parent=#Label] setString
-- @param self
-- @param #string str
--------------------------------
-- @function [parent=#Label] setSystemFontName
-- @param self
-- @param #string str
--------------------------------
-- @function [parent=#Label] setBMFontFilePath
-- @param self
-- @param #string str
-- @param #cc.Vec2 vec2
-- @return bool#bool ret (return value: bool)
--------------------------------
-- @function [parent=#Label] getFontAtlas
-- @param self
-- @return FontAtlas#FontAtlas ret (return value: cc.FontAtlas)
--------------------------------
-- @function [parent=#Label] setSystemFontSize
-- @param self
-- @param #float float
--------------------------------
-- @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] getSystemFontName
-- @param self
-- @return string#string ret (return value: string)
--------------------------------
-- @function [parent=#Label] setVerticalAlignment
-- @param self
-- @param #cc.TextVAlignment textvalignment
--------------------------------
-- @function [parent=#Label] getTTFConfig
-- @param self
-- @return _ttfConfig#_ttfConfig ret (return value: cc._ttfConfig)
--------------------------------
-- @function [parent=#Label] getVerticalAlignment
-- @param self
-- @return TextVAlignment#TextVAlignment ret (return value: cc.TextVAlignment)
--------------------------------
-- @function [parent=#Label] setTextColor
-- @param self
-- @param #color4b_table color4b
--------------------------------
-- @function [parent=#Label] setHeight
-- @param self
-- @param #unsigned int int
--------------------------------
-- @function [parent=#Label] getWidth
-- @param self
-- @return unsigned int#unsigned int ret (return value: unsigned int)
--------------------------------
-- @function [parent=#Label] enableGlow
-- @param self
-- @param #color4b_table color4b
--------------------------------
-- @function [parent=#Label] getLetter
-- @param self
-- @param #int int
-- @return Sprite#Sprite ret (return value: cc.Sprite)
--------------------------------
-- @function [parent=#Label] getSystemFontSize
-- @param self
-- @return float#float ret (return value: float)
--------------------------------
-- @function [parent=#Label] getTextAlignment
-- @param self
-- @return TextHAlignment#TextHAlignment ret (return value: cc.TextHAlignment)
--------------------------------
-- @function [parent=#Label] getBMFontFilePath
-- @param self
-- @return string#string ret (return value: string)
--------------------------------
-- @function [parent=#Label] setHorizontalAlignment
-- @param self
-- @param #cc.TextHAlignment texthalignment
--------------------------------
-- 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 #cc.Vec2 vec2
-- @return Label#Label ret (return value: cc.Label)
--------------------------------
-- @function [parent=#Label] create
-- @param self
-- @return Label#Label ret (return 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] createWithSystemFont
-- @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 (return value: cc.Label)
--------------------------------
-- @function [parent=#Label] draw
-- @param self
-- @param #cc.Renderer renderer
-- @param #cc.Mat4 mat4
-- @param #bool bool
--------------------------------
-- @function [parent=#Label] addChild
-- @param self
-- @param #cc.Node node
-- @param #int int
-- @param #int int
--------------------------------
-- @function [parent=#Label] setScaleY
-- @param self
-- @param #float float
--------------------------------
-- @function [parent=#Label] setScaleX
-- @param self
-- @param #float float
--------------------------------
-- @function [parent=#Label] isOpacityModifyRGB
-- @param self
-- @return bool#bool ret (return value: bool)
--------------------------------
-- @function [parent=#Label] getScaleY
-- @param self
-- @return float#float ret (return value: float)
--------------------------------
-- @function [parent=#Label] setBlendFunc
-- @param self
-- @param #cc.BlendFunc blendfunc
--------------------------------
-- @function [parent=#Label] visit
-- @param self
-- @param #cc.Renderer renderer
-- @param #cc.Mat4 mat4
-- @param #bool bool
--------------------------------
-- @function [parent=#Label] getScaleX
-- @param self
-- @return float#float ret (return value: float)
--------------------------------
-- @function [parent=#Label] getDescription
-- @param self
-- @return string#string ret (return value: string)
--------------------------------
-- @function [parent=#Label] setOpacityModifyRGB
-- @param self
-- @param #bool bool
--------------------------------
-- @function [parent=#Label] setScale
-- @param self
-- @param #float float
--------------------------------
-- @function [parent=#Label] sortAllChildren
-- @param self
--------------------------------
-- @function [parent=#Label] updateDisplayedOpacity
-- @param self
-- @param #unsigned char char
--------------------------------
-- @function [parent=#Label] getContentSize
-- @param self
-- @return size_table#size_table ret (return value: size_table)
--------------------------------
-- @function [parent=#Label] getBoundingBox
-- @param self
-- @return rect_table#rect_table ret (return value: rect_table)
--------------------------------
-- @function [parent=#Label] updateDisplayedColor
-- @param self
-- @param #color3b_table color3b
return nil