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
ResolvableConfig
<AirspeedIndicatorColorRange
>
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
readonly
color: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
readonly
isResolvableConfig: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
readonly
maximum: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
readonly
minimum: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
readonly
width: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
AirspeedIndicatorColorRange
This config's resolved value.