Skip to main content

Type Alias: HorizonLineOptions

HorizonLineOptions = object

Defined in: src/garminsdk/components/nextgenpfd/horizon/HorizonLine.tsx:13

Options for HorizonLine.

Properties

font

font: string

Defined in: src/garminsdk/components/nextgenpfd/horizon/HorizonLine.tsx:39

The name of the heading label font.


fontColor?

optional fontColor: string

Defined in: src/garminsdk/components/nextgenpfd/horizon/HorizonLine.tsx:45

The color of the heading label font. Defaults to 'white'.


fontOutlineColor?

optional fontOutlineColor: string

Defined in: src/garminsdk/components/nextgenpfd/horizon/HorizonLine.tsx:51

The color of the heading label font outline. Defaults to 'black'.


fontOutlineWidth?

optional fontOutlineWidth: number

Defined in: src/garminsdk/components/nextgenpfd/horizon/HorizonLine.tsx:48

The width of the heading label font outline, in pixels. Defaults to 1 pixel.


fontSize

fontSize: number

Defined in: src/garminsdk/components/nextgenpfd/horizon/HorizonLine.tsx:42

The size of the heading label font, in pixels, when the label is projected to the center of the projection.


headingPointerSize

headingPointerSize: ReadonlyFloat64Array

Defined in: src/garminsdk/components/nextgenpfd/horizon/HorizonLine.tsx:27

The size of the heading reference pointer. as [width, height] in pixels.


headingTickColor?

optional headingTickColor: string

Defined in: src/garminsdk/components/nextgenpfd/horizon/HorizonLine.tsx:36

The color of each heading tick. Defaults to 'white'.


headingTickLength

headingTickLength: number

Defined in: src/garminsdk/components/nextgenpfd/horizon/HorizonLine.tsx:30

The length of a heading tick, in pixels, when the tick is projected to the center of the projection.


headingTickWidth?

optional headingTickWidth: number

Defined in: src/garminsdk/components/nextgenpfd/horizon/HorizonLine.tsx:33

The width of each heading tick, in pixels. Defaults to 1 pixel.


labelOffset?

optional labelOffset: number

Defined in: src/garminsdk/components/nextgenpfd/horizon/HorizonLine.tsx:57

The offset of the heading label from its tick, in pixels. Positive offsets shift the label away from the tick. Defaults to 0 pixels.


outlineColor?

optional outlineColor: string

Defined in: src/garminsdk/components/nextgenpfd/horizon/HorizonLine.tsx:24

The color of the horizon line outline. Defaults to 'black'.


outlineWidth?

optional outlineWidth: number

Defined in: src/garminsdk/components/nextgenpfd/horizon/HorizonLine.tsx:21

The width of the horizon line outline, in pixels. Defaults to 1 pixel.


strokeColor?

optional strokeColor: string

Defined in: src/garminsdk/components/nextgenpfd/horizon/HorizonLine.tsx:18

The color of the horizon line stroke. Defaults to 'white'.


strokeWidth?

optional strokeWidth: number

Defined in: src/garminsdk/components/nextgenpfd/horizon/HorizonLine.tsx:15

The width of the horizon line stroke, in pixels. Defaults to 2 pixels.