Class

FontWeight

Weight of a font.

Source set: Android
public class FontWeight private constructor(
    /** numerical value for the weight (a number from 0 to 1000) */
    public val value: Int
)

Weight of a font.

Members

Companion

Source set: Android
public companion object

Properties

Normal

Source set: Android
public val Normal: FontWeight = FontWeight(400)

Medium

Source set: Android
public val Medium: FontWeight = FontWeight(500)

Bold

Source set: Android
public val Bold: FontWeight = FontWeight(700)
Jetpack Compose beyond MaterialFree components, screens and templates for apps that don’t look like Google’s. Copy them into your app, or let your coding agent add them.Browse for free

Content updated: