Font

doodle.core.font.Font
See theFont companion object
final case class Font(family: FontFamily, style: FontStyle, weight: FontWeight, size: FontSize)

Attributes

Companion
object
Source
Font.scala
Graph
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all

Members list

Value members

Concrete methods

def bold: Font

Attributes

Source
Font.scala
def family(name: String): Font

Attributes

Source
Font.scala
def family(family: FontFamily): Font

Attributes

Source
Font.scala
def italic: Font

Attributes

Source
Font.scala
def size(points: Int): Font

Attributes

Source
Font.scala
def size(size: FontSize): Font

Attributes

Source
Font.scala
def style(style: FontStyle): Font

Attributes

Source
Font.scala
def weight(weight: FontWeight): Font

Attributes

Source
Font.scala

Inherited methods

Attributes

Inherited from:
Product

Attributes

Inherited from:
Product