Font

class Font(val name: String, val size: Int)

Describes the name and size of the font set used to draw letters

This description is independent of the rendering context. Each rendering context has to provide a GlyphMeasurer to compute the concrete space occupied by the given Font (font name and font size)

Companion:
object
class Object
trait Matchable
class Any

Value members

Concrete fields

val name: String
val size: Int