diff options
Diffstat (limited to 'meta/3rd/Cocos4.0/ccui.RichElementText.lua')
-rw-r--r-- | meta/3rd/Cocos4.0/ccui.RichElementText.lua | 77 |
1 files changed, 77 insertions, 0 deletions
diff --git a/meta/3rd/Cocos4.0/ccui.RichElementText.lua b/meta/3rd/Cocos4.0/ccui.RichElementText.lua new file mode 100644 index 00000000..8dbd18dd --- /dev/null +++ b/meta/3rd/Cocos4.0/ccui.RichElementText.lua @@ -0,0 +1,77 @@ + +---@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
\ No newline at end of file |