blob: 5f45ef104d148e8e3f9b96405ecb94458316ccc7 (
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
55
56
57
|
---@meta
---@class cc.MenuItemFont :cc.MenuItemLabel
local MenuItemFont={ }
cc.MenuItemFont=MenuItemFont
---* Returns the name of the Font.<br>
---* js getFontNameObj<br>
---* js NA
---@return string
function MenuItemFont:getFontNameObj () end
---* Set the font name .<br>
---* c++ can not overload static and non-static member functions with the same parameter types.<br>
---* so change the name to setFontNameObj.<br>
---* js setFontName<br>
---* js NA
---@param name string
---@return self
function MenuItemFont:setFontNameObj (name) end
---* Initializes a menu item from a string with a target/selector.
---@param value string
---@param callback function
---@return boolean
function MenuItemFont:initWithString (value,callback) end
---* get font size .<br>
---* js getFontSize<br>
---* js NA
---@return int
function MenuItemFont:getFontSizeObj () end
---* Set font size.<br>
---* c++ can not overload static and non-static member functions with the same parameter types.<br>
---* so change the name to setFontSizeObj.<br>
---* js setFontSize<br>
---* js NA
---@param size int
---@return self
function MenuItemFont:setFontSizeObj (size) end
---* Set the default font name.
---@param name string
---@return self
function MenuItemFont:setFontName (name) end
---* Get default font size.
---@return int
function MenuItemFont:getFontSize () end
---* Get the default font name.
---@return string
function MenuItemFont:getFontName () end
---* Set default font size.
---@param size int
---@return self
function MenuItemFont:setFontSize (size) end
---* js ctor
---@return self
function MenuItemFont:MenuItemFont () end
|