Table of Contents

Class FontPool

Namespace
Lime
Assembly
Lime.dll
public class FontPool
Inheritance
FontPool
Inherited Members

Fields

DefaultBoldFontName

public const string DefaultBoldFontName = "Bold"

Field Value

string

DefaultFontName

public const string DefaultFontName = "Default"

Field Value

string

FontDirectory

public const string FontDirectory = "Fonts/"

Field Value

string

FontNameChanger

public Func<string, string> FontNameChanger

Field Value

Func<string, string>

Properties

DefaultFont

public IFont DefaultFont { get; }

Property Value

IFont

Instance

public static FontPool Instance { get; }

Property Value

FontPool

this[string]

public IFont this[string name] { get; }

Parameters

name string

Property Value

IFont

Null

public IFont Null { get; }

Property Value

IFont

Methods

AddFont(string, IFont)

public void AddFont(string name, IFont font)

Parameters

name string
font IFont

Clear(bool)

public void Clear(bool preserveDefaultFonts = false)

Parameters

preserveDefaultFonts bool

ClearCache()

public void ClearCache()

Remove(string)

public void Remove(string name)

Parameters

name string

TryGetFontPath(string, out string, string)

public static bool TryGetFontPath(string fontName, out string fontPath, string extension)

Parameters

fontName string
fontPath string
extension string

Returns

bool