Last updated

API / geotoolkit / gauges / TrafficGauge / TrafficGauge

Namespace: TrafficGauge

gauges.TrafficGauge.TrafficGauge

Table of contents

Type Aliases

Contents

Type Aliases

LightOptions

Ƭ LightOptions: Object

properties

Type declaration

NameTypeDescription
activefill?TypeFill style applied to this light when the value of the gauge falls within its range
high?numberHigher bound of the range in which this light is active
inactivefill?TypeFill style applied to this light when the value of the gauge falls out of its range
linestyle?TypeLine style of the light shape
low?numberLower bound of the range in which this light is active
name?stringName of the light, all the operations on this light will be referenced by this name
padding?string | numberPadding inside the container of this light in CSS notation. This will be applied to all the sides.
painter?PainterPainter used to draw the light shape
preserveaspectratio?booleanA flag defining if the shape should have equal width and height regardless of its container dimensions

LightOptionsOut

Ƭ LightOptionsOut: Merge<Required<LightOptions>, { activefill: FillStyle | null ; inactivefill: FillStyle | null ; linestyle: LineStyle | null ; padding: number ; painter: PainterFunction }>

properties


Options

Ƭ Options: Options & { css?: string | Options | CssStyle ; orientation?: Orientation ; trafficlights?: LightOptions | LightOptions[] }

properties


OptionsOut

Ƭ OptionsOut: OptionsOut & { orientation: Orientation ; trafficlights: LightOptionsOut[] }

properties