FontDefinition

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.

Companion
object
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any

Value members

Inherited methods

def productElementNames: Iterator[String]
Inherited from
Product
def productIterator: Iterator[Any]
Inherited from
Product