summaryrefslogtreecommitdiff
path: root/meta/3rd/Cocos4.0/library/ccui/RichElementText.lua
blob: 77d0aff06cff6200114d73f3b066921c3be70e06 (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
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
---@meta

---@class ccui.RichElementText :ccui.RichElement
local RichElementText={ }
ccui.RichElementText=RichElementText




---* brief Initialize a RichElementText with various arguments.<br>
---* param tag A integer tag value.<br>
---* param color A color in Color3B.<br>
---* param opacity A opacity in GLubyte.<br>
---* param text Content string.<br>
---* param fontName Content font name.<br>
---* param fontSize Content font size.<br>
---* param flags italics, bold, underline, strikethrough, url, outline, shadow or glow<br>
---* param url uniform resource locator<br>
---* param outlineColor the color of the outline<br>
---* param outlineSize the outline effect size value<br>
---* param shadowColor the shadow effect color value<br>
---* param shadowOffset shadow effect offset value<br>
---* param shadowBlurRadius the shadow effect blur radius<br>
---* param glowColor glow color<br>
---* return True if initialize success, false otherwise.
---@param tag int
---@param color color3b_table
---@param opacity unsigned_char
---@param text string
---@param fontName string
---@param fontSize float
---@param flags unsigned_int
---@param url string
---@param outlineColor color3b_table
---@param outlineSize int
---@param shadowColor color3b_table
---@param shadowOffset size_table
---@param shadowBlurRadius int
---@param glowColor color3b_table
---@return boolean
function RichElementText:init (tag,color,opacity,text,fontName,fontSize,flags,url,outlineColor,outlineSize,shadowColor,shadowOffset,shadowBlurRadius,glowColor) end
---* brief Create a RichElementText with various arguments.<br>
---* param tag A integer tag value.<br>
---* param color A color in Color3B.<br>
---* param opacity A opacity in GLubyte.<br>
---* param text Content string.<br>
---* param fontName Content font name.<br>
---* param fontSize Content font size.<br>
---* param flags italics, bold, underline, strikethrough, url, outline, shadow or glow<br>
---* param url uniform resource locator<br>
---* param outlineColor the color of the outline<br>
---* param outlineSize the outline effect size value<br>
---* param shadowColor the shadow effect color value<br>
---* param shadowOffset shadow effect offset value<br>
---* param shadowBlurRadius the shadow effect blur radius<br>
---* param glowColor glow color<br>
---* return RichElementText instance.
---@param tag int
---@param color color3b_table
---@param opacity unsigned_char
---@param text string
---@param fontName string
---@param fontSize float
---@param flags unsigned_int
---@param url string
---@param outlineColor color3b_table
---@param outlineSize int
---@param shadowColor color3b_table
---@param shadowOffset size_table
---@param shadowBlurRadius int
---@param glowColor color3b_table
---@return self
function RichElementText:create (tag,color,opacity,text,fontName,fontSize,flags,url,outlineColor,outlineSize,shadowColor,shadowOffset,shadowBlurRadius,glowColor) end
---* brief Default constructor.<br>
---* js ctor<br>
---* lua new
---@return self
function RichElementText:RichElementText () end