TTMSFNCWidgetGaugeThreshold Class
Defines a colored threshold band drawn over the gauge arc to highlight a range of values or angles.
API unit family: TMSFNCWidgetGauge
Inherits from: TPersistent
Syntax
TTMSFNCWidgetGaugeThreshold = class(TPersistent)
Remarks
The band is centered on Center and sized by Span. Use ThresholdKind to switch between angle-based and value-based positioning.
Properties
| Name | Description |
|---|---|
| Center | The scale value on which the threshold band is centered. |
| Color | The fill color of the threshold band. |
| EndValue | The upper scale value of the threshold range. |
| Span | The width of the threshold band, expressed as a percentage. |
| StartAngle | The start angle of the threshold band, in degrees. |
| StartValue | The lower scale value of the threshold range. |
| SweepAngle | The angular extent the threshold band sweeps, in degrees. |
| ThresholdKind | Determines whether the threshold is positioned by angle or by scale value. |
Events
| Name | Description |
|---|---|
| OnChanged | Occurs when a threshold property changes and the gauge must redraw. |