RSS

Четверг, 28.03.2024, 19:18
Главная » WoW API » API Виджеты » Простой HTML »

filename, fontHeight, flags = SimpleHTML:GetFont(["element"])

[ править ]
Returns basic properties of a font used in the frame.
[клоны]
Returns basic properties of a font used in the frame.


Signature:
Code
filename, fontHeight, flags = SimpleHTML:GetFont(["element"])

Arguments:
  • element - Name of an HTML element for which to return font information (e.g. p, h1); if omitted, returns information about the frame's default font (string)

Returns:
  • filename - Path to a font file (string)
  • fontHeight - Height (point size) of the font to be displayed (in pixels) (number)
  • flags - Additional properties for the font specified by one or more (separated by commas) of the following tokens: (string)
      MONOCHROME - Font is rendered without antialiasing
    • OUTLINE - Font is displayed with a black outline
    • THICKOUTLINE - Font is displayed with a thick black outline

Также смотрите: Простой HTML
Ссылки: http://wowprogramming.com/docs/widgets/SimpleHTML/GetFont