![]() |
HitLib 1.3.0
VEX V5 LED animation library for PROS
|
One color on a GAUGE region's scale. More...
#include <led_strand.hpp>
Public Attributes | |
| double | at |
| Reading this color belongs to, in the source's units. | |
| uint32_t | color |
| Color shown at that reading (0xRRGGBB). | |
One color on a GAUGE region's scale.
Stops are given in the reading's own units, not in pixels or 0-255: {55.0, 0xFF7000} is "orange at 55 °C". They are sorted and mapped onto the region's emptyAt - fullAt range once, when the mask is applied.
Below the first stop and above the last, the gauge shows that stop's color, so a scale never has to cover a range it doesn't care about.
| double hitlib::LedStrand::GaugeStop::at |
Reading this color belongs to, in the source's units.
| uint32_t hitlib::LedStrand::GaugeStop::color |
Color shown at that reading (0xRRGGBB).