Table of Contents

Interface IFontFactoryProvider

Namespace
BSGameLib.Game.Fonts
Assembly
BSGameLib.Game.dll

Finds the font factory for a kind of parameters, and creates fonts through it.

public interface IFontFactoryProvider

Methods

CreateFont<TFontParameters>(TFontParameters)

Creates the font that parameters describe, using the factory for its type.

IFont CreateFont<TFontParameters>(TFontParameters parameters) where TFontParameters : IFontParameters

Parameters

parameters TFontParameters

Returns

IFont

Type Parameters

TFontParameters

GetFactory<TFontParameters>()

Returns the factory that creates fonts from TFontParameters.

IFontFactory<TFontParameters> GetFactory<TFontParameters>() where TFontParameters : IFontParameters

Returns

IFontFactory<TFontParameters>

Type Parameters

TFontParameters