Hue Preserving Color Blending
Public Member Functions | Public Attributes | List of all members
TMPro.KerningTable Class Reference

Public Member Functions

void AddKerningPair ()
 
int AddKerningPair (uint first, uint second, float offset)
 Add Kerning Pair More...
 
int AddGlyphPairAdjustmentRecord (uint first, GlyphValueRecord firstAdjustments, uint second, GlyphValueRecord secondAdjustments)
 Add Glyph pair adjustment record More...
 
void RemoveKerningPair (int left, int right)
 
void RemoveKerningPair (int index)
 
void SortKerningPairs ()
 

Public Attributes

List< KerningPairkerningPairs
 

Detailed Description

Definition at line 222 of file TMPro_FontUtilities.cs.

Member Function Documentation

◆ AddGlyphPairAdjustmentRecord()

int TMPro.KerningTable.AddGlyphPairAdjustmentRecord ( uint  first,
GlyphValueRecord  firstAdjustments,
uint  second,
GlyphValueRecord  secondAdjustments 
)
inline

Add Glyph pair adjustment record

Parameters
firstGlyphThe first glyph
firstGlyphAdjustmentsAdjustment record for the first glyph
secondGlyphThe second glyph
secondGlyphAdjustmentsAdjustment record for the second glyph
Returns

Definition at line 279 of file TMPro_FontUtilities.cs.

◆ AddKerningPair()

int TMPro.KerningTable.AddKerningPair ( uint  first,
uint  second,
float  offset 
)
inline

Add Kerning Pair

Parameters
firstFirst glyph
secondSecond glyph
offsetxAdvance value
Returns

Definition at line 257 of file TMPro_FontUtilities.cs.


The documentation for this class was generated from the following file: