Class Glyph
Glyph data.
Namespace: Evergine.Framework.Assets.AssetParts.Fonts
Assembly: Evergine.Framework.dll
Syntax
public class Glyph
Properties
Advance
Gets or sets the glyph advance.
Declaration
public float Advance { get; set; }
Property Value
Type | Description |
---|---|
float |
AtlasBounds
Gets or sets the atlas coordinates.
Declaration
public Atlasbounds AtlasBounds { get; set; }
Property Value
Type | Description |
---|---|
Atlasbounds |
PlaneBounds
Gets or sets the normalized space used by the glyph.
Declaration
public Planebounds PlaneBounds { get; set; }
Property Value
Type | Description |
---|---|
Planebounds |
Unicode
Gets or sets the Unicode value.
Declaration
public int Unicode { get; set; }
Property Value
Type | Description |
---|---|
int |
Methods
Read(BinaryReader)
Reads a glyph from a binary file.
Declaration
public static Glyph Read(BinaryReader reader)
Parameters
Type | Name | Description |
---|---|---|
BinaryReader | reader | The binary reader. |
Returns
Type | Description |
---|---|
Glyph | The read glyph. |
Write(BinaryWriter)
Writes a glyph into a binary file.
Declaration
public void Write(BinaryWriter writer)
Parameters
Type | Name | Description |
---|---|---|
BinaryWriter | writer | The binary writer. |