Class Kerning
The kerning data.
Namespace: Evergine.Framework.Assets.AssetParts.Fonts
Assembly: Evergine.Framework.dll
Syntax
public class Kerning
Properties
advance
Gets or sets the advanced correction.
Declaration
public float advance { get; set; }
Property Value
Type | Description |
---|---|
float |
unicode1
Gets or sets the current glyph's Unicode.
Declaration
public int unicode1 { get; set; }
Property Value
Type | Description |
---|---|
int |
unicode2
Gets or sets the next glyph Unicode.
Declaration
public int unicode2 { get; set; }
Property Value
Type | Description |
---|---|
int |
Methods
Read(BinaryReader)
Reads the kerning from a binary file.
Declaration
public static Kerning Read(BinaryReader reader)
Parameters
Type | Name | Description |
---|---|---|
BinaryReader | reader | The binary reader. |
Returns
Type | Description |
---|---|
Kerning | The read kerning. |
Write(BinaryWriter)
Writes kerning into binary file.
Declaration
public void Write(BinaryWriter writer)
Parameters
Type | Name | Description |
---|---|---|
BinaryWriter | writer | The binary writer. |