Class MSDFSchema
The MSDF Schema allow read the MSDF generated data.
Inherited Members
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 is it doesn't exist. |