Font

scalafx.scene.text.Font
See theFont companion object
class Font(val delegate: Font) extends SFXDelegate[Font]

Attributes

Companion
object
Graph
Supertypes
trait SFXDelegate[Font]
class Object
trait Matchable
class Any

Members list

Value members

Constructors

def this(size: Double)

Constructs a font using the default face "System".

Constructs a font using the default face "System".

Attributes

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

Attributes

Concrete methods

def family: String

Returns the family of this font.

Returns the family of this font.

Attributes

def name: String

The full font name.

The full font name.

Attributes

def size: Double

The point size for this font.

The point size for this font.

Attributes

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.

Attributes

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 parameters

ref

Object to be compared.

Attributes

Returns

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

Definition Classes
SFXDelegate -> Any
Inherited from:
SFXDelegate
override def hashCode: Int

Attributes

Returns

The delegate hashcode

Definition Classes
SFXDelegate -> Any
Inherited from:
SFXDelegate
override def toString: String

Attributes

Returns

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

Definition Classes
SFXDelegate -> Any
Inherited from:
SFXDelegate

Concrete fields

val delegate: Font

JavaFX object to be wrapped.

JavaFX object to be wrapped.

Attributes