Class

RemoteFontWeight

Represents the thickness of glyphs in a font for Remote Compose.

Source set: JvmAndAndroid
public class RemoteFontWeight(public val weight: RemoteFloat)

Represents the thickness of glyphs in a font for Remote Compose.

Functions

equals

Source set: JvmAndAndroid
override fun equals(other: Any?): Boolean

Creates a RemoteFontWeight with the given integer weight value.

Parameters

weight The thickness of the font as an integer (e.g. 400 for normal, 700 for bold).

hashCode

Source set: JvmAndAndroid
override fun hashCode(): Int

toString

Source set: JvmAndAndroid
override fun toString(): String

Members

Companion

Source set: JvmAndAndroid
public companion object

Properties

W100

Source set: JvmAndAndroid
@Stable public val W100: RemoteFontWeight = RemoteFontWeight(100.rf)

Thin font weight (100).

W200

Source set: JvmAndAndroid
@Stable public val W200: RemoteFontWeight = RemoteFontWeight(200.rf)

Extra light font weight (200).

W300

Source set: JvmAndAndroid
@Stable public val W300: RemoteFontWeight = RemoteFontWeight(300.rf)

Light font weight (300).

W400

Source set: JvmAndAndroid
@Stable public val W400: RemoteFontWeight = RemoteFontWeight(400.rf)

Normal / regular / plain font weight (400).

W500

Source set: JvmAndAndroid
@Stable public val W500: RemoteFontWeight = RemoteFontWeight(500.rf)

Medium font weight (500).

W600

Source set: JvmAndAndroid
@Stable public val W600: RemoteFontWeight = RemoteFontWeight(600.rf)

Semi-bold font weight (600).

W700

Source set: JvmAndAndroid
@Stable public val W700: RemoteFontWeight = RemoteFontWeight(700.rf)

Bold font weight (700).

W800

Source set: JvmAndAndroid
@Stable public val W800: RemoteFontWeight = RemoteFontWeight(800.rf)

Extra bold font weight (800).

W900

Source set: JvmAndAndroid
@Stable public val W900: RemoteFontWeight = RemoteFontWeight(900.rf)

Black font weight (900).

Thin

Source set: JvmAndAndroid
@Stable public val Thin: RemoteFontWeight = W100

Alias for W100.

ExtraLight

Source set: JvmAndAndroid
@Stable public val ExtraLight: RemoteFontWeight = W200

Alias for W200.

Light

Source set: JvmAndAndroid
@Stable public val Light: RemoteFontWeight = W300

Alias for W300.

Normal

Source set: JvmAndAndroid
@Stable public val Normal: RemoteFontWeight = W400

The default font weight - alias for W400.

Medium

Source set: JvmAndAndroid
@Stable public val Medium: RemoteFontWeight = W500

Alias for W500.

SemiBold

Source set: JvmAndAndroid
@Stable public val SemiBold: RemoteFontWeight = W600

Alias for W600.

Bold

Source set: JvmAndAndroid
@Stable public val Bold: RemoteFontWeight = W700

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

ExtraBold

Source set: JvmAndAndroid
@Stable public val ExtraBold: RemoteFontWeight = W800

Alias for W800.

Black

Source set: JvmAndAndroid
@Stable public val Black: RemoteFontWeight = W900

Alias for W900.

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: