csharp
public readonly record struct FontAxisOne axis a variable font can be instanced along.
No guide page documents this yet — the page shows what the code says about itself.
Fields and properties (4)
public string TagThe four-character tag — wght, wdth, slnt, opsz, ital.
public float MinimumThe smallest value an instance may ask for, in user units.
public float DefaultWhat the font is when nobody asks — the instance every non-variable reader gets.
public float MaximumThe largest.
Methods (3)
public FontAxis(string Tag, float Minimum, float Default, float Maximum)One axis a variable font can be instanced along.
public float Clamp(float value)Clamps a user value into the axis's own range.
public float Normalize(float value)Maps a user value onto the −1…0…+1 grid every variation table is written in.
Used by (5)
- FontFaceVixen.Ui.Text
- FontVariationVixen.Ui.Text
- FontVariationTestsVixen.Ui.Text.Tests
- VariationTablesVixen.Ui.Text
- FontViewVixen.Editor.AssetEditors