Class MSDFSchema
The MSDF Schema allows reading the MSDF generated data.
Namespace: Evergine.Framework.Assets.AssetParts.Fonts
Assembly: Evergine.Framework.dll
Syntax
public class MSDFSchema
Properties
atlas
Gets or sets the atlas data.
Declaration
public Atlas atlas { get; set; }
Property Value
| Type | Description |
|---|---|
| Atlas |
glyphs
Gets or sets the glyph array data.
Declaration
public Glyph[] glyphs { get; set; }
Property Value
| Type | Description |
|---|---|
| Glyph[] |
kerning
Gets or sets the kerning data.
Declaration
public Kerning[] kerning { get; set; }
Property Value
| Type | Description |
|---|---|
| Kerning[] |
metrics
Gets or sets the atlas metrics.
Declaration
public Metrics metrics { get; set; }
Property Value
| Type | Description |
|---|---|
| Metrics |
Methods
GetGlyphByChar(int)
Gets the glyph by Unicode.
Declaration
public Glyph GetGlyphByChar(int unicode)
Parameters
| Type | Name | Description |
|---|---|---|
| int | unicode | The Unicode. |
Returns
| Type | Description |
|---|---|
| Glyph | The glyph or null if it doesn't exist. |