Class

RemoteFontVariation.Setting

A single variable font axis setting, such as Setting("wght", weight).

Source set: JvmAndAndroid
public class Setting(public val axisName: String, public val value: RemoteFloat)

A single variable font axis setting, such as Setting("wght", weight).

Constant values are compared numerically, so 0f and -0f are equal, as for Float values of androidx.compose.ui.text.font.FontVariation.Setting.

Parameters

axisName The four-character OpenType axis tag, such as wght or wdth.
value The value of the axis, which can be a remote expression.

Functions

equals

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

hashCode

Source set: JvmAndAndroid
override fun hashCode(): Int

toString

Source set: JvmAndAndroid
override fun toString(): String
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: