Table of Contents

Class CompoundFont

Namespace
Lime
Assembly
Lime.dll

Font class which combines different fonts into one. You can use collection of IFont in order of priority to use (if first font doesn't contain FontChar it will look for it in the next font and so on).

public class CompoundFont : IFont, IDisposable
Inheritance
CompoundFont
Implements
Inherited Members
Extension Methods

Constructors

CompoundFont()

public CompoundFont()

CompoundFont(params IFont[])

public CompoundFont(params IFont[] fonts)

Parameters

fonts IFont[]

CompoundFont(IEnumerable<IFont>)

public CompoundFont(IEnumerable<IFont> fonts)

Parameters

fonts IEnumerable<IFont>

Fields

PlaceHolderCharacter

Character that is used as a placeholder for missing character (used in QA testing)

public static char PlaceHolderCharacter

Field Value

char

UsePlaceholders

Allow to render a PlaceHolderCharacter when character is missing (used in QA testing)

public static bool UsePlaceholders

Field Value

bool

Properties

About

Legacy interface property.

public string About { get; }

Property Value

string

CharSource

public IFontCharSource CharSource { get; }

Property Value

IFontCharSource

Fonts

public List<IFont> Fonts { get; }

Property Value

List<IFont>

RoundCoordinates

public bool RoundCoordinates { get; }

Property Value

bool

Spacing

public float Spacing { get; }

Property Value

float

Methods

ClearCache()

public void ClearCache()

Dispose()

Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.

public void Dispose()