FontWeight


The thickness of the glyphs, in a range of 1, 1000.

See also
Font
FontFamily

Summary

Public companion properties

FontWeight

Alias for W900

Cmn
FontWeight

A commonly used font weight that is heavier than normal - alias for W700

Cmn
FontWeight

Alias for W800

Cmn
FontWeight

Alias for W200

Cmn
FontWeight

Alias for W300

Cmn
FontWeight

Alias for W500

Cmn
FontWeight

The default font weight - alias for W400

Cmn
FontWeight

Alias for W600

Cmn
FontWeight

Alias for W100

Cmn
FontWeight

Thin

Cmn
FontWeight

ExtraLight

Cmn
FontWeight

Light

Cmn
FontWeight

Normal / regular / plain

Cmn
FontWeight

Medium

Cmn
FontWeight

SemiBold

Cmn
FontWeight

Bold

Cmn
FontWeight

ExtraBold

Cmn
FontWeight

Black

Cmn

Public constructors

FontWeight(weight: Int)
Cmn

Public functions

open operator Int
Cmn
open operator Boolean
equals(other: Any?)
Cmn
open Int
Cmn
open String
Cmn

Public properties

Int

Font weight value in the range of 1, 1000

Cmn

Public companion properties

Black

val Black: FontWeight

Alias for W900

Bold

val Bold: FontWeight

A commonly used font weight that is heavier than normal - alias for W700

ExtraBold

val ExtraBold: FontWeight

Alias for W800

ExtraLight

val ExtraLight: FontWeight

Alias for W200

Light

val Light: FontWeight

Alias for W300

Medium

val Medium: FontWeight

Alias for W500

Normal

val Normal: FontWeight

The default font weight - alias for W400

SemiBold

val SemiBold: FontWeight

Alias for W600

Thin

val Thin: FontWeight

Alias for W100

W100

val W100: FontWeight

Thin

W200

val W200: FontWeight

ExtraLight

W300

val W300: FontWeight

Light

W400

val W400: FontWeight

Normal / regular / plain

W500

val W500: FontWeight

Medium

W600

val W600: FontWeight

SemiBold

W700

val W700: FontWeight

Bold

W800

val W800: FontWeight

ExtraBold

W900

val W900: FontWeight

Black

Public constructors

FontWeight

FontWeight(weight: Int)
Parameters
weight: Int

Font weight value in the range of 1, 1000

Public functions

compareTo

open operator fun compareTo(other: FontWeight): Int

equals

open operator fun equals(other: Any?): Boolean

hashCode

open fun hashCode(): Int

toString

open fun toString(): String

Public properties

weight

val weight: Int

Font weight value in the range of 1, 1000