nixos/lua-lsp/meta/3rd/Cocos4.0/library/ccui/RichElementText.lua

78 lines
3 KiB
Lua

---@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