FontVariationAxis

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

Information about font variation axes for variable fonts

Constructors

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

Properties

defaultValue
Link copied to clipboard
val defaultValue: Double
The default value.
maxValue
Link copied to clipboard
val maxValue: Double
The maximum value (inclusive) the font supports for this tag.
minValue
Link copied to clipboard
val minValue: Double
The minimum value (inclusive) the font supports for this tag.
name
Link copied to clipboard
val name: String
Human-readable variation name in the default language (normally, "en").
tag
Link copied to clipboard
val tag: String
The font-variation-setting tag (a.k.a.

Sources

jvm source
Link copied to clipboard