Class FontRegistryProvider
Namespace: Aurigma.DesignAtoms.Services.Fonts
Assembly: Aurigma.DesignAtoms.dll
Syntax
public class FontRegistryProvider : IFontRegistryProvider, IDisposable
Inheritance: System.Object -> FontRegistryProvider
Implements
- Aurigma.DesignAtoms.Services.Fonts.IFontRegistryProvider
System.IDisposable
Inherited Members
System.Object.ToStringSystem.Object.Equals(System.Object)System.Object.Equals(System.Object,System.Object)System.Object.ReferenceEquals(System.Object,System.Object)System.Object.GetHashCodeSystem.Object.GetTypeSystem.Object.MemberwiseClone
Constructors
FontRegistryProvider
public FontRegistryProvider(IConfiguration configuration, IFontStorage fontStorage, IFontInfoProvider fontInfoProvider)
Methods
Dispose
protected virtual void Dispose(bool disposing)
Parameters
| Type | Name | Description |
|---|---|---|
System.Boolean | disposing |
Finalize
protected void Finalize()
Dispose
public void Dispose()
GetsFontsByFamily
public IReadOnlyDictionary<string, IList<FontService.FontData>> GetsFontsByFamily()
Returns
System.Collections.Generic.IReadOnlyDictionary<System.String,System.Collections.Generic.IList<Aurigma.DesignAtoms.Services.FontService.FontData>>
GetsFontsByPsName
public IReadOnlyDictionary<string, FontService.FontData> GetsFontsByPsName()
Returns
System.Collections.Generic.IReadOnlyDictionary<System.String,Aurigma.DesignAtoms.Services.FontService.FontData>
GetFontRemaps
public IReadOnlyDictionary<string, string> GetFontRemaps()
Returns
System.Collections.Generic.IReadOnlyDictionary<System.String,System.String>
GetFontRegistry
public FontRegistry GetFontRegistry()
Returns
Aurigma.GraphicsMill.AdvancedDrawing.FontRegistry
GetFontRegistryAsync
public Task<FontRegistry> GetFontRegistryAsync()
Returns
System.Threading.Tasks.Task<Aurigma.GraphicsMill.AdvancedDrawing.FontRegistry>
Events
FontRegistryChanged
public event EventHandler<EventArgs> FontRegistryChanged