FontFaceVariationAxis Class

A variation axis of a font face (https://drafts.csswg.org/css-font-loading/#fontfacevariationaxis).

public sealed class FontFaceVariationAxis

Properties

NameDescription
AxisTagGets the tag of the axis (e.g. wght).
DefaultValueGets the default value of the axis.
MaximumValueGets the maximum value of the axis.
MinimumValueGets the minimum value of the axis.
NameGets the name of the axis in the font.

Gets the tag of the axis (e.g. wght).

public string AxisTag { get; }

DefaultValue

FontFaceDetails.cs

Gets the default value of the axis.

public double DefaultValue { get; }

MaximumValue

FontFaceDetails.cs

Gets the maximum value of the axis.

public double MaximumValue { get; }

MinimumValue

FontFaceDetails.cs

Gets the minimum value of the axis.

public double MinimumValue { get; }

Gets the name of the axis in the font.

public string Name { get; }