-------------------------------- -- @module TextBMFont -- @extend Widget -- @parent_module ccui -------------------------------- -- Gets the string length of the label.
-- Note: This length will be larger than the raw string length,
-- if you want to get the raw string length, you should call this->getString().size() instead
-- return string length. -- @function [parent=#TextBMFont] getStringLength -- @param self -- @return long#long ret (return value: long) -------------------------------- -- -- @function [parent=#TextBMFont] getString -- @param self -- @return string#string ret (return value: string) -------------------------------- -- -- @function [parent=#TextBMFont] setString -- @param self -- @param #string value -- @return TextBMFont#TextBMFont self (return value: ccui.TextBMFont) -------------------------------- -- -- @function [parent=#TextBMFont] getRenderFile -- @param self -- @return ResouceData#ResouceData ret (return value: cc.ResouceData) -------------------------------- -- init a bitmap font atlas with an initial string and the FNT file -- @function [parent=#TextBMFont] setFntFile -- @param self -- @param #string fileName -- @return TextBMFont#TextBMFont self (return value: ccui.TextBMFont) -------------------------------- -- @overload self, string, string -- @overload self -- @function [parent=#TextBMFont] create -- @param self -- @param #string text -- @param #string filename -- @return TextBMFont#TextBMFont ret (return value: ccui.TextBMFont) -------------------------------- -- -- @function [parent=#TextBMFont] createInstance -- @param self -- @return Ref#Ref ret (return value: cc.Ref) -------------------------------- -- -- @function [parent=#TextBMFont] getVirtualRenderer -- @param self -- @return Node#Node ret (return value: cc.Node) -------------------------------- -- Returns the "class name" of widget. -- @function [parent=#TextBMFont] getDescription -- @param self -- @return string#string ret (return value: string) -------------------------------- -- -- @function [parent=#TextBMFont] getVirtualRendererSize -- @param self -- @return size_table#size_table ret (return value: size_table) -------------------------------- -- Default constructor
-- js ctor
-- lua new -- @function [parent=#TextBMFont] TextBMFont -- @param self -- @return TextBMFont#TextBMFont self (return value: ccui.TextBMFont) return nil