Face

A face (font) representation

Functions

Link copied to clipboard
abstract fun ascent(size: Double): Double
Link copied to clipboard
abstract fun bounds(size: Double): Rectangle
Link copied to clipboard
expect abstract fun close()
Link copied to clipboard
abstract fun descent(size: Double): Double
Link copied to clipboard
abstract fun glyphForCharacter(character: Char): Glyph

Return the glyph for a given character

Link copied to clipboard
abstract fun kernAdvance(size: Double, left: Char, right: Char): Double
Link copied to clipboard
abstract fun lineGap(size: Double): Double
Link copied to clipboard
open fun lineSpace(size: Double): Double