Last updated

API / geotoolkit / gauges / NumericGauge / NumericGauge

Namespace: NumericGauge

gauges.NumericGauge.NumericGauge

Table of contents

Type Aliases

Contents

Type Aliases

BackgroundStyleOptions

Ƭ BackgroundStyleOptions: Object

object containing background styles

Type declaration

NameTypeDescription
fillstyle?Typebackground fillstyle
linestyle?Typebackground linestyle
visible?booleanbackground visibility

BackgroundStyleOptionsOut

Ƭ BackgroundStyleOptionsOut: Object

object containing background styles

Type declaration

NameTypeDescription
fillstyleFillStyle | nullbackground fillstyle
linestyleLineStyle | nullbackground linestyle
visiblebooleanbackground visibility

EventMap

Ƭ EventMap: EventMap & { gaugeValueUpdated: { new: number ; old: number } }


NameOptions

Ƭ NameOptions: Object

Object with properties

Type declaration

NameTypeDescription
alignment?AnchorTypeDefines where in the region the name text will be positioned
color?string | RgbaColorColor of name text
displaystrategy?ValueDisplayStrategiesA display strategy to define how the name text fits the region it is rendered in
font?stringFont of name text
position?Regions | stringRegion in which to render the name text
properties?Optionssee Text.setProperties
textstyle?TypeText style of the name text. If provided, overrides font and color
visible?booleanVisibility of the name text

NameOptionsOut

Ƭ NameOptionsOut: Object

Type declaration

NameTypeDescription
alignmentAnchorTypeDefines where in the region the value text will be positioned
displaystrategyValueDisplayStrategiesA display strategy which defines how the value text fits the region it is rendered in
positionRegionsRegion in which to render the name text
properties?OptionsOutsee Text.getProperties
textstyleTextStyle | nullText style of the value text
visiblebooleanVisibility of the value text

Options

Ƭ Options: Options & { alarms?: Alarm[] ; animationfunction?: Functions | string ; animationtime?: number ; background?: BackgroundStyleOptions ; namestyle?: NameOptions ; units?: string ; value?: number ; valuestyle?: ValueOptions }

properties


OptionsOut

Ƭ OptionsOut: OptionsOut & { alarms?: Alarm[] ; animationfunction?: Functions | string ; animationtime?: number ; background?: { fillstyle?: FillStyle ; linestyle?: LineStyle ; visible?: boolean } ; namestyle?: { alignment?: AnchorType ; color?: string | RgbaColor ; displaystrategy?: ValueDisplayStrategies ; font?: string ; position?: Regions ; textstyle?: TextStyle ; visible?: boolean } ; units?: string ; value?: number ; valuestyle?: { alignment?: AnchorType ; color?: string | RgbaColor ; displaystrategy?: ValueDisplayStrategies ; font?: string ; format?: string ; formatter?: Format ; position?: Regions ; textstyle?: TextStyle ; visible?: boolean } }

properties


ValueOptions

Ƭ ValueOptions: Object

Object with properties

Type declaration

NameTypeDescription
alignment?AnchorTypeDefines where in the region the value text will be positioned
color?string | RgbaColorColor of name text
displaystrategy?ValueDisplayStrategiesA display strategy to define how the value text fits the region it is rendered in
font?stringFont of value text
format?stringFormat of value to set on number formatter
formatter?FormatFormatter which will be used to format the value before displaying it.
position?Regions | stringRegion in which to render the name text
properties?Optionssee Text.setProperties
textstyle?TypeText style of the value text. If provided, overrides font and color
visible?booleanVisibility of the value text

ValueOptionsOut

Ƭ ValueOptionsOut: Object

Format of value to set on number formatter

Type declaration

NameTypeDescription
alignmentAnchorTypeDefines where in the region the value text will be positioned
displaystrategyValueDisplayStrategiesA display strategy which defines how the value text fits the region it is rendered in
formatstringFormat of value to set on number formatter
formatterFormatFormatter which will be used to format the value before displaying it.
positionRegionsRegion in which to render the name text
properties?OptionsOutsee Text.getProperties
textstyleTextStyle | nullText style of the value text
visiblebooleanVisibility of the value text