AxisRange Struct
An inclusive range of values along one design axis: the weights, widths or slants a face declares that it covers (the range form
of the CSS @font-face descriptors font-weight, font-stretch and font-style: oblique).
public readonly struct AxisRange : System.IEquatable<PeachDrawing.Text.AxisRange>
Implements System.IEquatable<AxisRange>
A range whose two ends are equal is a single value. The constructor puts the ends in order, so the smaller is always
Minimum.
| Properties |
|
| Maximum |
The highest value of the range. |
| Minimum |
The lowest value of the range. |
| Methods |
|
| Clamp(double) |
The value of the range that is nearest to value: the value itself when it is inside. |
| Contains(double) |
Whether a value lies inside the range, both ends included. |