C# Class Nexus.Client.UI.NexusFontSetResolver

Searches through the available font sets for the desired font.
This resolver searches through the available themes for the appropriate fonts.
Inheritance: IFontSetResolver
Mostra file Open project: NexusMods/NexusModManager-4.5 Class Usage Examples

Public Methods

Method Description
AddFontSets ( FontSetGroup p_fsgFontSets ) : void

Addes the given FontSetGroups to the resolver.

When resolving a font, the groups are examined in the reverse order in which they were added.

RequestFont ( FontSetInformation p_fsiFontInfo ) : Font

Returns a font that best matches the described font set.

Method Details

AddFontSets() public method

Addes the given FontSetGroups to the resolver.
When resolving a font, the groups are examined in the reverse order in which they were added.
public AddFontSets ( FontSetGroup p_fsgFontSets ) : void
p_fsgFontSets Nexus.UI.FontSetGroup The font set group to add.
return void

RequestFont() public method

Returns a font that best matches the described font set.
public RequestFont ( FontSetInformation p_fsiFontInfo ) : Font
p_fsiFontInfo Nexus.UI.FontSetInformation The information describing the desired font.
return System.Drawing.Font