GaugeBand struct
Namespace: Arlecchino.Widgets.Readouts · Assembly: Arlecchino
Where a band of a Gauge starts and how it is drawn. A band runs from GaugeBand.From up to the start of the next one, so bands are given in ascending order.
public readonly struct GaugeBand : IEquatable<GaugeBand>
Implements IEquatable<T><GaugeBand>
Constructors
| Member | Summary |
|---|---|
GaugeBand(decimal, IArlecchinoColor) | Where a band of a Gauge starts and how it is drawn. A band runs from GaugeBand.From up to the start of the next one, so bands are given in ascending order. |
Properties
| Member | Summary |
|---|---|
From | The value the band starts at. |
Style | How the part of the track inside the band is drawn. |
Methods
| Member | Summary |
|---|---|
Deconstruct(out decimal, out IArlecchinoColor) |
Constructors in detail
GaugeBand(decimal, IArlecchinoColor)
public GaugeBand(decimal From, IArlecchinoColor Style);
Where a band of a Gauge starts and how it is drawn. A band runs from GaugeBand.From up to the start of the next one, so bands are given in ascending order.
Parameters
| Name | Type | Description |
|---|---|---|
From | decimal | The value the band starts at. |
Style | IArlecchinoColor | How the part of the track inside the band is drawn. |
Properties in detail
From
public decimal From { get; init; }
The value the band starts at.
Type decimal
Style
public IArlecchinoColor Style { get; init; }
How the part of the track inside the band is drawn.
Type IArlecchinoColor
Methods in detail
Deconstruct(out decimal, out IArlecchinoColor)
public void Deconstruct(out decimal From, out IArlecchinoColor Style);
Parameters
| Name | Type | Description |
|---|---|---|
From | decimal | |
Style | IArlecchinoColor |