kerning

fun kerning(left: Char, right: Char): Double(source)

Retrieves the kerning value between two characters.

Kerning defines the spacing adjustment between two specific characters to improve the overall appearance and readability of the text. If no kerning value is defined for the given pair, it defaults to 0.0.

Return

The kerning value for the specified character pair as a Double. Defaults to 0.0 if the pair is not found.

Parameters

left

The first character in the character pair.

right

The second character in the character pair.