Class FontSourceLoader
The font source loader.
Implements
Inherited Members
Namespace: Evergine.Framework.Assets
Assembly: Evergine.Framework.dll
Syntax
public class FontSourceLoader : AssetSourceLoadableConverter<FontSource, Font>, IAssetSourceLoadableConverter
Constructors
FontSourceLoader(GraphicsContext)
Initializes a new instance of the FontSourceLoader class.
Declaration
public FontSourceLoader(GraphicsContext graphicsContext)
Parameters
Type | Name | Description |
---|---|---|
GraphicsContext | graphicsContext | The graphics context. |
Properties
ExportedExtension
Gets the exported extension of the asset.
Declaration
public override string ExportedExtension { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
Methods
Convert(FontSource)
Convert from FontSource to Font.
Declaration
public override Font Convert(FontSource source)
Parameters
Type | Name | Description |
---|---|---|
FontSource | source | The FontSource instance. |
Returns
Type | Description |
---|---|
Font | The font instance. |