FontFaceVariationAxis Class
- Namespace
- Meziantou.Framework.WebPlatform.Css.Om
- Assembly
- Meziantou.Framework.WebPlatform.dll
- Package
- Meziantou.Framework.WebPlatform 1.0.10
- Source
- FontFaceDetails.cs
- Available in package assets
- net10.0net11.0
A variation axis of a font face (https://drafts.csswg.org/css-font-loading/#fontfacevariationaxis).
public sealed class FontFaceVariationAxis
Properties
| Name | Description |
|---|
| AxisTag | Gets the tag of the axis (e.g. wght). |
| DefaultValue | Gets the default value of the axis. |
| MaximumValue | Gets the maximum value of the axis. |
| MinimumValue | Gets the minimum value of the axis. |
| Name | Gets the name of the axis in the font. |
Gets the tag of the axis (e.g. wght).
public string AxisTag { get; }
Gets the default value of the axis.
public double DefaultValue { get; }
Gets the maximum value of the axis.
public double MaximumValue { get; }
Gets the minimum value of the axis.
public double MinimumValue { get; }
Gets the name of the axis in the font.