FontVectorMap

abstract class FontVectorMap : FontMap(source)

A type of FontMap which keeps characters stored as vector data. Good for displaying very large text and for displaying text at different scales, but in general less performant than FontImageMap because it is not pre-rendered.

Constructors

Link copied to clipboard
constructor()

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
abstract val ascenderLength: Double

The length of the ascender part of the font, which is the height above the baseline.

Link copied to clipboard
abstract val descenderLength: Double

The length of the descender part of the font, which is the height below the baseline.

Link copied to clipboard
abstract val height: Double

The total height of the font, combining ascender, descender, and other elements.

Link copied to clipboard
abstract val leading: Double

The vertical spacing between lines of text.

Link copied to clipboard
abstract val name: String

The name of the font.

Link copied to clipboard
abstract val size: Double

The size of the font.