Module |
|
Header |
/Engine/Source/Runtime/SlateCore/Public/Fonts/FontMeasure.h |
Include |
#include "Fonts/FontMeasure.h" |
Source |
/Engine/Source/Runtime/SlateCore/Private/Fonts/FontMeasure.cpp |
int8 GetKerning
(
const FSlateFontInfo & InFontInfo,
float FontScale,
TCHAR PreviousCharacter,
TCHAR CurrentCharacter
) const
Returns the kerning value for the specified pair of characters.
the kerning value used between the two specified characters
Parameter |
Description |
---|---|
InFontInfo |
A descriptor of the font to get kerning for |
FontScale |
The scale to apply to the font |
PreviousCharacter |
The character preceding the current character that you want to measure kerning for |
CurrentCharacter |
The current character to you to measure kerning for when precede by the specified PreviousCharacter |