FontWeight

sealed abstract class FontWeight(val delegate: FontWeight) extends SFXEnumDelegate[FontWeight]
Companion
object
trait SFXEnumDelegate[FontWeight]
trait SFXDelegate[FontWeight]
class Object
trait Matchable
class Any
object Thin
object ExtraLight
object Light
object Normal
object Medium
object SemiBold
object Bold
object ExtraBold
object Black

Value members

Concrete methods

def weight: Int

Return the visual weight (degree of blackness or thickness) specified by this FontWeight.

Return the visual weight (degree of blackness or thickness) specified by this FontWeight.

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

Return the same string value as enum delegate.

Return the same string value as enum delegate.

This is important since we want to be able to look it up using enums valueOf method. Default toString provided by the SFXDelegate prepends "[SFX]"

Definition Classes
Inherited from
SFXEnumDelegate

Concrete fields

override val delegate: FontWeight