Struct WeatherBand
One colour band of a weather fill: a value range in the field's stored unit, the palette token of its colour and a legend label.
public readonly record struct WeatherBand : IEquatable<WeatherBand>
- Implements
- Inherited Members
Constructors
WeatherBand(float, float, string, string)
One colour band of a weather fill: a value range in the field's stored unit, the palette token of its colour and a legend label.
public WeatherBand(float Minimum, float Maximum, string Token, string Label)
Parameters
MinimumfloatThe lower bound, inclusive, in the field's stored unit.
MaximumfloatThe upper bound, exclusive, in the field's stored unit.
TokenstringThe colour token in Palette.
LabelstringThe legend label, in the unit the band is defined in (e.g. knots).
Properties
Label
The legend label, in the unit the band is defined in (e.g. knots).
public string Label { get; init; }
Property Value
Maximum
The upper bound, exclusive, in the field's stored unit.
public float Maximum { get; init; }
Property Value
Minimum
The lower bound, inclusive, in the field's stored unit.
public float Minimum { get; init; }
Property Value
Token
The colour token in Palette.
public string Token { get; init; }