Class: ColorRangeConfig
Defined in: src/workingtitle-instruments-g3x-touch/html_ui/PFD/Components/AirspeedIndicator/ColorRangeConfig.ts:8
A configuration object which defines an airspeed tape color range.
Implements
Constructors
Constructor
new ColorRangeConfig(
element,factory):ColorRangeConfig
Defined in: src/workingtitle-instruments-g3x-touch/html_ui/PFD/Components/AirspeedIndicator/ColorRangeConfig.ts:28
Creates a new ColorRangeConfig from a configuration document element.
Parameters
| Parameter | Type | Description |
|---|---|---|
element | Element | A configuration document element. |
factory | ConfigFactory | A configuration object factory to use to create child configuration objects. |
Returns
ColorRangeConfig
Properties
color
readonlycolor:AirspeedIndicatorColorRangeColor
Defined in: src/workingtitle-instruments-g3x-touch/html_ui/PFD/Components/AirspeedIndicator/ColorRangeConfig.ts:15
The color of this config's color range.
isResolvableConfig
readonlyisResolvableConfig:true=true
Defined in: src/workingtitle-instruments-g3x-touch/html_ui/PFD/Components/AirspeedIndicator/ColorRangeConfig.ts:9
Flags this object as a ResolvableConfig.
Implementation of
ResolvableConfig.isResolvableConfig
maximum
readonlymaximum:NumericConfig
Defined in: src/workingtitle-instruments-g3x-touch/html_ui/PFD/Components/AirspeedIndicator/ColorRangeConfig.ts:21
The config which defines the maximum airspeed value of this config's color range.
minimum
readonlyminimum:NumericConfig
Defined in: src/workingtitle-instruments-g3x-touch/html_ui/PFD/Components/AirspeedIndicator/ColorRangeConfig.ts:18
The config which defines the minimum airspeed value of this config's color range.
width
readonlywidth:AirspeedIndicatorColorRangeWidth
Defined in: src/workingtitle-instruments-g3x-touch/html_ui/PFD/Components/AirspeedIndicator/ColorRangeConfig.ts:12
The width of this config's color range.
Methods
resolve()
resolve():
AirspeedIndicatorColorRange
Defined in: src/workingtitle-instruments-g3x-touch/html_ui/PFD/Components/AirspeedIndicator/ColorRangeConfig.ts:93
Resolves this config to a value.
Returns
This config's resolved value.