Kerbal Space Program  1.12.4
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Events Macros
Public Member Functions | Public Attributes | List of all members
TMPro.KerningTable Class Reference

Public Member Functions

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

Public Attributes

List< KerningPairkerningPairs
 

Constructor & Destructor Documentation

TMPro.KerningTable.KerningTable ( )
inline

Member Function Documentation

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
void TMPro.KerningTable.AddKerningPair ( )
inline
int TMPro.KerningTable.AddKerningPair ( uint  first,
uint  second,
float  offset 
)
inline

Add Kerning Pair

Parameters
firstFirst glyph
secondSecond glyph
offsetxAdvance value
Returns
void TMPro.KerningTable.RemoveKerningPair ( int  left,
int  right 
)
inline
void TMPro.KerningTable.RemoveKerningPair ( int  index)
inline
void TMPro.KerningTable.SortKerningPairs ( )
inline

Member Data Documentation

List<KerningPair> TMPro.KerningTable.kerningPairs

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