FontVariationAxis

@Serializable
data class FontVariationAxis(val tag: String, val name: String, val minValue: Double, val maxValue: Double, val defaultValue: Double)

Information about font variation axes for variable fonts

Constructors

Link copied to clipboard
constructor(tag: String, name: String, minValue: Double, maxValue: Double, defaultValue: Double)

Properties

Link copied to clipboard

The default value.

Link copied to clipboard

The maximum value (inclusive) the font supports for this tag.

Link copied to clipboard

The minimum value (inclusive) the font supports for this tag.

Link copied to clipboard

Human-readable variation name in the default language (normally, "en").

Link copied to clipboard
val tag: String

The font-variation-setting tag (a.k.a. "axis tag").