Table of Contents

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

float

Bold

Returns the index for the bolded version of this font

Vector2I Bold { get; }

Property Value

Vector2I

BoldItalic

Returns the index for the bold italic version of this font

Vector2I BoldItalic { get; }

Property Value

Vector2I

BoldItalicUnderline

Returns the index for the bold italic underline version of this font

Vector2I BoldItalicUnderline { get; }

Property Value

Vector2I

BoldUnderline

Returns the index for the bold underlined version of this font

Vector2I BoldUnderline { get; }

Property Value

Vector2I

Index

Index of the font in the font manager

int Index { get; }

Property Value

int

Italic

Returns the index for the italicised version of this font

Vector2I Italic { get; }

Property Value

Vector2I

Name

Font name

string Name { get; }

Property Value

string

PtSize

Font size at which the textures were created.

float PtSize { get; }

Property Value

float

Regular

Returns the index for this font using regular styling

Vector2I Regular { get; }

Property Value

Vector2I

Underline

Retruns the index for the underlined version of the font

Vector2I Underline { get; }

Property Value

Vector2I

Methods

GetStyleIndex(FontStyles)

Retrieves the full index of the font style

Vector2I GetStyleIndex(FontStyles style)

Parameters

style FontStyles

Returns

Vector2I

GetStyleIndex(int)

Retrieves the full index of the font style

Vector2I GetStyleIndex(int style)

Parameters

style int

Returns

Vector2I

IsStyleDefined(FontStyles)

Returns true if the font is defined for the given style.

bool IsStyleDefined(FontStyles styleEnum)

Parameters

styleEnum FontStyles

Returns

bool

IsStyleDefined(int)

Returns true if the font is defined for the given style.

bool IsStyleDefined(int style)

Parameters

style int

Returns

bool