Wowpedia

We have moved to Warcraft Wiki. Click here for information and the new URL.

READ MORE

Wowpedia
Advertisement

inherits FrameScriptObject, created with CreateFont

Methods[]

Font:CopyFontObject(sourceFont)
Font:GetAlpha() : alpha
Font:GetFont() : fontFile, height, flags
Font:GetFontObject() : font
Font:GetIndentedWordWrap() : wordWrap
Font:GetJustifyH() : justifyH
Font:GetJustifyV() : justifyV
Font:GetShadowColor() : colorR, colorG, colorB, colorA
Font:GetShadowOffset() : offsetX, offsetY
Font:GetSpacing() : spacing
Font:GetTextColor() : colorR, colorG, colorB, colorA
Font:SetAlpha(alpha)
Font:SetFont(fontFile, height, flags)
Font:SetFontObject(font)
Font:SetIndentedWordWrap(wordWrap)
Font:SetJustifyH(justifyH)
Font:SetJustifyV(justifyV)
Font:SetShadowColor(colorR, colorG, colorB [, a])
Font:SetShadowOffset(offsetX, offsetY)
Font:SetSpacing(spacing)
Font:SetTextColor(colorR, colorG, colorB [, a])

FrameScriptObject:GetName() : name - Returns the object's global name.
FrameScriptObject:GetObjectType() : objectType - Returns the object's widget type.
FrameScriptObject:IsForbidden() : isForbidden - Returns true if insecure interaction with the object is forbidden.
FrameScriptObject:IsObjectType(objectType) : isType - Returns true if the object belongs to a given widget type or its subtypes.
FrameScriptObject:SetForbidden() #protected - Sets the object to be forbidden from an insecure execution path.

Templates[]

FrameXML/Fonts.xml defines limited localization-dependent character sets, intended only for inheriting into other Fonts. {FontsFrameXML/Fonts}
SharedXML/SharedFontStyles.xml defines the traditional game fonts. {SharedFontStylesSharedXML/SharedFontStyles}
FrameXML/FontStyles.xml defines additional fonts for certain use cases. {FontStylesFrameXML/FontStyles}
Advertisement