Skip to content

Class 0xab5db4f2

14.7 Interface

Class Documentation

Edit documentation

The color bands shared by the meter, radial and arc float elements. When the view starts, the element sorts colors by StartingValue, from low to high.

FloatUpdateRadialElement and FloatUpdateArcElement apply a band on every changed update. They pick the first band, in sorted order, whose StartingValue is greater than or equal to the target value. If no band qualifies, they pick the last band. They then evaluate the Color driver of that band for the source of the view controller and set the result as the color of the UI element.

Properties

colors

List2<ColorStartFloatData>
Edit documentation

The color bands. Each ColorStartFloatData pairs a StartingValue with a Color driver. The selection rule is in the class description.