Font

org.nspl.Font
See theFont companion object
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)

Attributes

Companion:
object
Graph
Supertypes
class Object
trait Matchable
class Any

Members list

Concise view

Value members

Concrete fields

val name: String
val size: Int