Font

eu.joaocosta.interim.Font$
See theFont companion class
object Font

Attributes

Companion
class
Graph
Supertypes
trait Product
trait Mirror
class Object
trait Matchable
class Any
Self type
Font.type

Members list

Type members

Inherited types

type MirroredElemLabels <: Tuple

The names of the product elements

The names of the product elements

Attributes

Inherited from:
Mirror

The name of the type

The name of the type

Attributes

Inherited from:
Mirror

Value members

Concrete methods

def apply(name: String, fontSize: Int): Font

A description of a font.

A description of a font.

All chars are assumed to be square.

Value parameters

fontSize

font width and height in pixels

name

font name

Attributes

def apply(name: String, fontSize: Int, charWidth: Int): Font

A description of a font.

A description of a font.

All chars are assumed to have the same width.

Value parameters

charWidth

character width in pixels

fontSize

font height in pixels

name

font name

Attributes

Concrete fields

val default: Font

The default font

The default font

Attributes