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 BlackFontWeight

Alias for W900

Bold

val BoldFontWeight

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

ExtraBold

val ExtraBoldFontWeight

Alias for W800

ExtraLight

val ExtraLightFontWeight

Alias for W200

Light

val LightFontWeight

Alias for W300

Medium

val MediumFontWeight

Alias for W500

Normal

val NormalFontWeight

The default font weight - alias for W400

SemiBold

val SemiBoldFontWeight

Alias for W600

Thin

val ThinFontWeight

Alias for W100

W100

val W100FontWeight

Thin

W200

val W200FontWeight

ExtraLight

W300

val W300FontWeight

Light

W400

val W400FontWeight

Normal / regular / plain

W500

val W500FontWeight

Medium

W600

val W600FontWeight

SemiBold

W700

val W700FontWeight

Bold

W800

val W800FontWeight

ExtraBold

W900

val W900FontWeight

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 weightInt

Font weight value in the range of 1, 1000