Class FontVariationAxis
Information about font variation axes for variable fonts
public sealed record FontVariationAxis : IEquatable<FontVariationAxis>
- Inheritance
-
FontVariationAxis
- Implements
- Inherited Members
Constructors
FontVariationAxis(string, string, double, double, double)
Information about font variation axes for variable fonts
public FontVariationAxis(string Tag, string Name, double MinValue, double MaxValue, double DefaultValue)
Parameters
TagstringThe font-variation-setting tag (a.k.a. "axis tag").
NamestringHuman-readable variation name in the default language (normally, "en").
MinValuedoubleThe minimum value (inclusive) the font supports for this tag.
MaxValuedoubleThe maximum value (inclusive) the font supports for this tag.
DefaultValuedoubleThe default value.
Properties
DefaultValue
The default value.
public double DefaultValue { get; init; }
Property Value
MaxValue
The maximum value (inclusive) the font supports for this tag.
public double MaxValue { get; init; }
Property Value
MinValue
The minimum value (inclusive) the font supports for this tag.
public double MinValue { get; init; }
Property Value
Name
Human-readable variation name in the default language (normally, "en").
public string Name { get; init; }
Property Value
Tag
The font-variation-setting tag (a.k.a. "axis tag").
public string Tag { get; init; }