Class FontSourceLoader
Loads font sources.
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)
Converts 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. |