Class Glyph
The glyph data.
Inherited Members
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 spaces used by the glyph.
Declaration
public Planebounds planeBounds { get; set; }
Property Value
| Type | Description |
|---|---|
| Planebounds |
unicode
Gets or sets the unicode.
Declaration
public int unicode { get; set; }
Property Value
| Type | Description |
|---|---|
| int |
Methods
Read(BinaryReader)
Read glyph from 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)
Write glyph into binary file.
Declaration
public void Write(BinaryWriter writer)
Parameters
| Type | Name | Description |
|---|---|---|
| BinaryWriter | writer | The binary writer. |