FontDefinition

laika.theme.config.FontDefinition
See theFontDefinition companion object
case class FontDefinition(resource: Font, family: String, weight: FontWeight, style: FontStyle)

Represent a full font definition, combining the font resource (file and/or web URL) plus the mapping to a family name, font weight and style.

When providing multiple different weights and styles for the same font, a separate FontDefinition instance needs to be built for each of them.

Attributes

Companion
object
Graph
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all

Members list

Value members

Inherited methods

def productElementNames: Iterator[String]

Attributes

Inherited from:
Product
def productIterator: Iterator[Any]

Attributes

Inherited from:
Product