getKerningAmount

open fun getKerningAmount(scale: Float, first: Int, second: Int): Float

Fetches the Kerning.amount between two codepoint.

Return

the kerning amount multiplied by the scale between the two codepoints if it exists; otherwise 0

Parameters

scale

the scale to multiply the resulting amount by

first

the first codepoint

second

the second codepoint


open fun getKerningAmount(scale: Float, first: Char, second: Char): Float

Fetches the Kerning.amount between two characters.

Return

the kerning amount multiplied by the scale between the two codepoints if it exists; otherwise 0

Parameters

scale

the scale to multiply the resulting amount by

first

the first character

second

the second character