Class KerningPair
Inheritance
System.Object
    KerningPair
  Inherited Members
      System.Object.Equals(System.Object)
    
    
      System.Object.Equals(System.Object, System.Object)
    
    
      System.Object.GetHashCode()
    
    
      System.Object.GetType()
    
    
      System.Object.MemberwiseClone()
    
    
      System.Object.ReferenceEquals(System.Object, System.Object)
    
    
      System.Object.ToString()
    
  Namespace: TMPro
Syntax
[Serializable]
public class KerningPair
  Constructors
KerningPair()
Declaration
public KerningPair()
  KerningPair(UInt32, UInt32, Single)
Declaration
public KerningPair(uint left, uint right, float offset)
  Parameters
| Type | Name | Description | 
|---|---|---|
| System.UInt32 | left | |
| System.UInt32 | right | |
| System.Single | offset | 
KerningPair(UInt32, GlyphValueRecord, UInt32, GlyphValueRecord)
Declaration
public KerningPair(uint firstGlyph, GlyphValueRecord firstGlyphAdjustments, uint secondGlyph, GlyphValueRecord secondGlyphAdjustments)
  Parameters
| Type | Name | Description | 
|---|---|---|
| System.UInt32 | firstGlyph | |
| GlyphValueRecord | firstGlyphAdjustments | |
| System.UInt32 | secondGlyph | |
| GlyphValueRecord | secondGlyphAdjustments | 
Fields
xOffset
Declaration
[FormerlySerializedAs("XadvanceOffset")]
public float xOffset
  Field Value
| Type | Description | 
|---|---|
| System.Single | 
Properties
firstGlyph
The first glyph part of a kerning pair.
Declaration
public uint firstGlyph { get; set; }
  Property Value
| Type | Description | 
|---|---|
| System.UInt32 | 
firstGlyphAdjustments
The positional adjustment of the first glyph.
Declaration
public GlyphValueRecord firstGlyphAdjustments { get; }
  Property Value
| Type | Description | 
|---|---|
| GlyphValueRecord | 
secondGlyph
The second glyph part of a kerning pair.
Declaration
public uint secondGlyph { get; set; }
  Property Value
| Type | Description | 
|---|---|
| System.UInt32 | 
secondGlyphAdjustments
The positional adjustment of the second glyph.
Declaration
public GlyphValueRecord secondGlyphAdjustments { get; }
  Property Value
| Type | Description | 
|---|---|
| GlyphValueRecord |