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

73 lines
2.0 KiB
Lua
Raw Normal View History

2014-03-10 14:04:58 +08:00
--------------------------------
-- @module TextBMFont
-- @extend Widget
-- @parent_module ccui
2014-03-10 14:04:58 +08:00
--------------------------------
-- init a bitmap font atlas with an initial string and the FNT file
2014-03-10 14:04:58 +08:00
-- @function [parent=#TextBMFont] setFntFile
-- @param self
-- @param #string fileName
2014-03-10 14:04:58 +08:00
--------------------------------
-- Gets the string length of the label.<br>
-- Note: This length will be larger than the raw string length,<br>
-- if you want to get the raw string length, you should call this->getString().size() instead<br>
-- return string length.
-- @function [parent=#TextBMFont] getStringLength
2014-03-10 14:04:58 +08:00
-- @param self
-- @return long#long ret (return value: long)
2014-03-10 14:04:58 +08:00
--------------------------------
--
-- @function [parent=#TextBMFont] setString
2014-03-10 14:04:58 +08:00
-- @param self
-- @param #string value
2014-03-10 14:04:58 +08:00
--------------------------------
--
-- @function [parent=#TextBMFont] getString
-- @param self
-- @return string#string ret (return value: string)
2014-03-10 14:04:58 +08:00
--------------------------------
-- @overload self, string, string
-- @overload self
-- @function [parent=#TextBMFont] create
2014-03-10 14:04:58 +08:00
-- @param self
-- @param #string text
-- @param #string filename
-- @return TextBMFont#TextBMFont ret (retunr value: ccui.TextBMFont)
2014-03-10 14:04:58 +08:00
--------------------------------
--
2014-03-10 14:04:58 +08:00
-- @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)
2014-03-10 14:04:58 +08:00
--------------------------------
-- Default constructor
2014-03-10 14:04:58 +08:00
-- @function [parent=#TextBMFont] TextBMFont
-- @param self
return nil