Font
object type24 methodsavailable in: camelot
It has every method of FrameScriptObject, plus 24 of its own.
Inherits from
- Font · 24
- FrameScriptObject · 21
The number is each type's own documented methods. A Font has all of them.
Methods
In the emulator: 14 implemented, 10 guessed.
| method | what it does | status |
|---|---|---|
CopyFontObject | Copies the settings of another font object into this font. · by wowlua(sourceFont: Font) | implemented |
GetAlpha | Returns the alpha of the text. · warcraft.wiki.gg ↗(): number | implemented |
GetFont | Returns the basic font properties. · warcraft.wiki.gg ↗(): (string, uiFontHeight, TBFFlags) | implemented |
GetFontHeight | Return is either in uiUnits or internal height due to fixedHeight. · warcraft.wiki.gg ↗(): number | guessed |
GetFontObject | Returns the font object this font inherits from. · by wowlua(): Font | guessed |
GetFontObjectForAlphabet | Returns the font used for an alphabet. · by wowlua(alphabet: FontAlphabet): Font | guessed |
GetIndentedWordWrap | Whether wrapped lines in this font are indented. · by wowlua(): boolean | guessed |
GetJustifyH | Returns the font's horizontal text alignment. · by wowlua(): JustifyHorizontal | guessed |
GetJustifyV | Returns the font's vertical text alignment. · by wowlua(): JustifyVertical | guessed |
GetShadowColor | Returns the color of the font's shadow as red, green, blue and alpha. · by wowlua(): (number, number, number, number) | guessed |
GetShadowOffset | Returns the offset of the font's shadow. · by wowlua(): (number, number) | guessed |
GetSpacing | Returns the spacing between lines in the font. · by wowlua(): number | guessed |
GetTextColor | Returns the font's text color as red, green, blue and alpha. · by wowlua(): (number, number, number, number) | guessed |
SetAlpha | Sets the alpha of the text. · warcraft.wiki.gg ↗(alpha: number) | implemented |
SetFont | Sets the basic font properties. · warcraft.wiki.gg ↗(fontFile: string, height: uiFontHeight, flags: TBFFlags) | implemented |
SetFontHeight | Preserves all flags, does correct height conversion due to fixedHeight.(height: number) | implemented |
SetFontObject | Sets the font object this font inherits from. · by wowlua(font: Font) | implemented |
SetIndentedWordWrap | Sets whether wrapped lines in this font are indented. · by wowlua(wordWrap: boolean) | implemented |
SetJustifyH | Sets the font's horizontal text alignment. · by wowlua(justifyH: JustifyHorizontal) | implemented |
SetJustifyV | Sets the font's vertical text alignment. · by wowlua(justifyV: JustifyVertical) | implemented |
SetShadowColor | Sets the color of the font's shadow. · by wowlua(colorR: number, colorG: number, colorB: number, a: number?) | implemented |
SetShadowOffset | Sets the offset of the font's shadow. · by wowlua(offsetX: number, offsetY: number) | implemented |
SetSpacing | Sets the spacing between lines in the font. · by wowlua(spacing: number) | implemented |
SetTextColor | Sets the text color. · warcraft.wiki.gg ↗(colorR: number, colorG: number, colorB: number, a: number?) | implemented |
sources
Methods and inheritance: Blizzard's API documentation (Blizzard_APIDocumentationGenerated) (camelot 1.60.1). Descriptions: Blizzard's API documentation (Blizzard_APIDocumentationGenerated); warcraft.wiki.gg's API pages, by its contributors, CC BY-SA 4.0 ↗; written by wowlua where no documentation describes the entry.