Font

class Font(val delegate: Font) extends SFXDelegate[Font]
Companion
object
trait SFXDelegate[Font]
class Object
trait Matchable
class Any

Value members

Constructors

def this(size: Double)

Constructs a font using the default face "System".

Constructs a font using the default face "System".

def this(name: String, size: Double)

Constructs a font using the specified full face name and size

Constructs a font using the specified full face name and size

Concrete methods

def family: String

Returns the family of this font.

Returns the family of this font.

def name: String

The full font name.

The full font name.

def size: Double

The point size for this font.

The point size for this font.

def style: String

The font specified string describing the style within the font family.

The font specified string describing the style within the font family.

Inherited methods

override def equals(ref: Any): Boolean

Verifies if a object is equals to this delegate.

Verifies if a object is equals to this delegate.

Value Params
ref

Object to be compared.

Returns

if the other object is equals to this delegate or not.

Definition Classes
Inherited from
SFXDelegate
override def hashCode: Int
Returns

The delegate hashcode

Definition Classes
Inherited from
SFXDelegate
override def toString: String
Returns

Returns the original delegate's toString() adding a [SFX] prefix.

Definition Classes
Inherited from
SFXDelegate

Concrete fields

val delegate: Font