Skip to main content

Type Alias: ArtificialHorizonColorStop

ArtificialHorizonColorStop = [number, string, number]

Defined in: src/garminsdk/components/nextgenpfd/horizon/ArtificialHorizon.tsx:12

A color gradient stop for ArtificialHorizon. The first member (distance) defines the distance of the stop from the horizon line, in pixels. The second member (color) defines the color of the stop. The optional third member (step) defines the distance, in pixels, between adjacent interpolated colors used to draw the gradient. The value of step must be at least 2 and defaults to 4.