blob: 81268c8adaf31e35d75cc558f3c410840a5c0b04 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
|
---@class ccui.TextBMFont :ccui.Widget
local TextBMFont={ }
ccui.TextBMFont=TextBMFont
---* 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.
---@return int
function TextBMFont:getStringLength () end
---* get string value for labelbmfont
---@return string
function TextBMFont:getString () end
---* set string value for labelbmfont
---@param value string
---@return self
function TextBMFont:setString (value) end
---*
---@return cc.ResourceData
function TextBMFont:getRenderFile () end
---* init a bitmap font atlas with an initial string and the FNT file
---@param fileName string
---@return self
function TextBMFont:setFntFile (fileName) end
---* reset TextBMFont inner label
---@return self
function TextBMFont:resetRender () end
---@overload fun(string:string,string:string):self
---@overload fun():self
---@param text string
---@param filename string
---@return self
function TextBMFont:create (text,filename) end
---*
---@return cc.Ref
function TextBMFont:createInstance () end
---*
---@return cc.Node
function TextBMFont:getVirtualRenderer () end
---* Returns the "class name" of widget.
---@return string
function TextBMFont:getDescription () end
---*
---@return size_table
function TextBMFont:getVirtualRendererSize () end
---* Default constructor<br>
---* js ctor<br>
---* lua new
---@return self
function TextBMFont:TextBMFont () end
|