Class Kerning
The kerning data.
Inherited Members
Namespace: Evergine.Framework.Assets.AssetParts.Fonts
Assembly: Evergine.Framework.dll
Syntax
public class Kerning
Properties
advance
Gets or sets the advance correction.
Declaration
public float advance { get; set; }
Property Value
Type | Description |
---|---|
float |
unicode1
Gets or sets the current glyph 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)
Read the kerning from 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)
Write kerning into binary file.
Declaration
public void Write(BinaryWriter writer)
Parameters
Type | Name | Description |
---|---|---|
BinaryWriter | writer | The binary writer. |