PeachDrawing.Text

PeachDrawing.Text

AxisSetting Struct

A value for one axis of a variable font, such as weight 650: what to ask WithAxes(IEnumerable<AxisSetting>) for.

public readonly record struct AxisSetting : System.IEquatable<PeachDrawing.Text.AxisSetting>

Implements System.IEquatable<AxisSetting>

Constructors  
AxisSetting(string, double) A value for one axis of a variable font, such as weight 650: what to ask WithAxes(IEnumerable<AxisSetting>) for.
Properties  
Tag The four-character tag of the axis, such as wght. See AxisTags for the registered ones.
Value The value in the axis’s own units (a weight of 650, a width of 87.5 percent, an optical size of 12 points).