-------------------------------- -- @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] getFontSize -- @param self -- @return float#float ret (return value: float) -------------------------------- -- @function [parent=#Label] getString -- @param self -- @return string#string ret (return value: string) -------------------------------- -- @function [parent=#Label] disableEffect -- @param self -------------------------------- -- @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] 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] setClipMarginEnabled -- @param self -- @param #bool bool -------------------------------- -- @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 #float float -------------------------------- -- @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] 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 -------------------------------- -- @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) -------------------------------- -- @function [parent=#Label] addChild -- @param self -- @param #cc.Node node -- @param #int int -- @param #int int -------------------------------- -- @function [parent=#Label] draw -- @param self -- @param #cc.Renderer renderer -- @param #kmMat4 kmmat4 -- @param #bool bool -------------------------------- -- @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] 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] visit -- @param self -- @param #cc.Renderer renderer -- @param #kmMat4 kmmat4 -- @param #bool bool -------------------------------- -- @function [parent=#Label] setOpacityModifyRGB -- @param self -- @param #bool bool -------------------------------- -- @function [parent=#Label] setScale -- @param self -- @param #float float -------------------------------- -- @function [parent=#Label] updateDisplayedOpacity -- @param self -- @param #unsigned char char -------------------------------- -- @function [parent=#Label] setScaleY -- @param self -- @param #float float -------------------------------- -- @function [parent=#Label] getContentSize -- @param self -- @return size_table#size_table ret (return value: size_table) -------------------------------- -- @function [parent=#Label] updateDisplayedColor -- @param self -- @param #color3B_table color3b return nil