Font

indigo.shared.datatypes.Font
See theFont companion object
final case class Font(family: FontFamily, size: Pixels, style: FontStyle, variant: FontVariant, weight: FontWeight)

Attributes

Companion
object
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
def italic: Font
def noBold: Font
def noItalic: Font
def withFontFamily(newFamily: FontFamily): Font
def withSize(newSize: Pixels): Font
def withStyle(newStyle: FontStyle): Font
def withVariant(newVariant: FontVariant): Font
def withWeight(newWeight: FontWeight): Font

Inherited methods

def productElementNames: Iterator[String]

Attributes

Inherited from:
Product
def productIterator: Iterator[Any]

Attributes

Inherited from:
Product