Interface IFontMin
- Namespace
- RichHudFramework.UI.Rendering
- Assembly
- RichHudClient.dll
Simplified Font interface for use by HUD API clients.
public interface IFontMin
Properties
BaseScale
Default scaling applied to font. Used to normalize font size.
float BaseScale { get; }
Property Value
Bold
Returns the index for the bolded version of this font
Vector2I Bold { get; }
Property Value
BoldItalic
Returns the index for the bold italic version of this font
Vector2I BoldItalic { get; }
Property Value
BoldItalicUnderline
Returns the index for the bold italic underline version of this font
Vector2I BoldItalicUnderline { get; }
Property Value
BoldUnderline
Returns the index for the bold underlined version of this font
Vector2I BoldUnderline { get; }
Property Value
Index
Index of the font in the font manager
int Index { get; }
Property Value
Italic
Returns the index for the italicised version of this font
Vector2I Italic { get; }
Property Value
Name
Font name
string Name { get; }
Property Value
PtSize
Font size at which the textures were created.
float PtSize { get; }
Property Value
Regular
Returns the index for this font using regular styling
Vector2I Regular { get; }
Property Value
Underline
Retruns the index for the underlined version of the font
Vector2I Underline { get; }
Property Value
Methods
GetStyleIndex(FontStyles)
Retrieves the full index of the font style
Vector2I GetStyleIndex(FontStyles style)
Parameters
styleFontStyles
Returns
GetStyleIndex(int)
Retrieves the full index of the font style
Vector2I GetStyleIndex(int style)
Parameters
styleint
Returns
IsStyleDefined(FontStyles)
Returns true if the font is defined for the given style.
bool IsStyleDefined(FontStyles styleEnum)
Parameters
styleEnumFontStyles
Returns
IsStyleDefined(int)
Returns true if the font is defined for the given style.
bool IsStyleDefined(int style)
Parameters
styleint