Rasterizer:getKerning
EditReturns the kerning between 2 glyphs, in pixels. Kerning is a slight horizontal adjustment between 2 glyphs to improve the visual appearance. It will often be negative.
Arguments
Name | Type | Description |
first | string | The first character. |
second | string | The second character. |
Returns
Name | Type | Description |
keming | number | The kerning between the two glyphs. |
Arguments
Name | Type | Description |
firstCodepoint | number | The first codepoint. |
second | string | The second character. |
Returns
Name | Type | Description |
keming | number | The kerning between the two glyphs. |
Arguments
Name | Type | Description |
first | string | The first character. |
secondCodepoint | number | The second codepoint. |
Returns
Name | Type | Description |
keming | number | The kerning between the two glyphs. |
Arguments
Name | Type | Description |
firstCodepoint | number | The first codepoint. |
secondCodepoint | number | The second codepoint. |
Returns
Name | Type | Description |
keming | number | The kerning between the two glyphs. |