RSS

Суббота, 21.12.2024, 20:09
Главная » WoW API » API Виджеты »

Простой HTML

[ Добавить запись ]

В категории материалов: 23
Показано материалов: 1-23

Название Описание
SimpleHTML:SetTextColor(["element",] textR, textG, textB, textAlpha) Sets the color of text in the frame.
SimpleHTML:SetText("text") Sets the text to be displayed in the SimpleHTML frame.
SimpleHTML:SetSpacing(["element",] spacing) Sets the amount of spacing between lines of text in the frame.
SimpleHTML:SetShadowOffset(["element",] xOffset, yOffset) Returns the offset of text shadow from text in the frame.
SimpleHTML:SetShadowColor(["element",] shadowR, shadowG, shadowB, shadowAlpha) Sets the shadow color for text in the frame.
SimpleHTML:SetJustifyV(["element",] "justify") Sets the vertical alignment style for text in the frame.
SimpleHTML:SetJustifyH(["element",] "justify") Sets the horizontal alignment style for text in the frame.
SimpleHTML:SetIndentedWordWrap(["element",] indent) Sets whether long lines of text are indented when wrapping.
SimpleHTML:SetHyperlinksEnabled(enable) Enables or disables hyperlink interactivity in the frame.
SimpleHTML:SetHyperlinkFormat("format") Sets the format string used for displaying hyperlinks in the frame.
SimpleHTML:SetFontObject(["element",] font) or SimpleHTML:SetFontObject(["element",] "name") Sets the `Font` object from which the properties of a font used in the frame are inherited.
isValid = SimpleHTML:SetFont(["element",] "filename", fontHeight, "flags") Sets basic properties of a font used in the frame.
textR, textG, textB, textAlpha = SimpleHTML:GetTextColor(["element"]) Returns the color of text in the frame.
spacing = SimpleHTML:GetSpacing(["element"]) Returns the amount of spacing between lines of text in the frame.
xOffset, yOffset = SimpleHTML:GetShadowOffset(["element"]) Returns the offset of text shadow from text in the frame.
shadowR, shadowG, shadowB, shadowAlpha = SimpleHTML:GetShadowColor(["element"]) Returns the shadow color for text in the frame.
justify = SimpleHTML:GetJustifyV(["element"]) Returns the vertical alignment style for text in the frame.
justify = SimpleHTML:GetJustifyH(["element"]) Returns the horizontal alignment style for text in the frame.
indent = SimpleHTML:GetIndentedWordWrap(["element"]) Returns whether long lines of text are indented when wrapping.
enabled = SimpleHTML:GetHyperlinksEnabled() Returns whether hyperlinks in the frame's text are interactive.
format = SimpleHTML:GetHyperlinkFormat() Returns the format string used for displaying hyperlinks in the frame.
font = SimpleHTML:GetFontObject(["element"]) Returns the `Font` object from which the properties of a font used in the frame are inherited.
filename, fontHeight, flags = SimpleHTML:GetFont(["element"]) Returns basic properties of a font used in the frame.