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
UsePlaceholders
Allow to render a PlaceHolderCharacter when character is missing (used in QA testing)
public static bool UsePlaceholders
Field Value
Properties
About
Legacy interface property.
public string About { get; }
Property Value
CharSource
public IFontCharSource CharSource { get; }
Property Value
Fonts
public List<IFont> Fonts { get; }
Property Value
RoundCoordinates
public bool RoundCoordinates { get; }
Property Value
Spacing
public float Spacing { get; }
Property Value
Methods
ClearCache()
public void ClearCache()
Dispose()
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
public void Dispose()