RSS

Вторник, 05.11.2024, 14:26
Главная » WoW API » API Виджеты » Фрейм »

fontstring = Frame:CreateFontString(["name" [, "layer" [, "inherits"]]])

[ править ]
Creates a new [[docs/widgets/FontString`FontString`]] as a child of the frame.
[клоны]
Creates a new FontString as a child of the frame.


Signature:
Code
fontstring = Frame:CreateFontString(["name" [, "layer" [, "inherits"]]])

Arguments:
  • name - Global name for the new font string (string)
  • layer - Graphic layer on which to create the font string; defaults to ARTWORK if not specified (string, layer)
  • inherits - Name of a template from which the new front string should inherit (string)

Returns:
  • fontstring - Reference to the new FontString object (fontstring)

Также смотрите: Фрейм
Ссылки: http://wowprogramming.com/docs/widgets/Frame/CreateFontString