Class: FlightPathVectorLineRenderer
Renders flight path vectors as a curved line.
Constructors
constructor
• new FlightPathVectorLineRenderer(): FlightPathVectorLineRenderer
Returns
Methods
render
▸ render(vector
, context
, streamStack
, width
, style
, dash?
, outlineWidth?
, outlineStyle?
, lineCap?
): void
Renders a flight path vector to a canvas.
Parameters
Name | Type | Default value | Description |
---|---|---|---|
vector | CircleVector | undefined | The flight path vector to render. |
context | CanvasRenderingContext2D | undefined | The canvas 2D rendering context to which to render. |
streamStack | GeoProjectionPathStreamStack | undefined | The path stream to which to render. |
width | number | undefined | The width of the rendered line. |
style | string | undefined | The style of the rendered line. |
dash? | readonly number [] | undefined | The dash array of the rendered line. Defaults to no dash. |
outlineWidth? | number | undefined | The width of the outline, in pixels. Defaults to 0 pixels. |
outlineStyle? | string | undefined | The style of the outline. Defaults to 'black' . |
lineCap | CanvasLineCap | 'butt' | The line cap style to use. Defaults to 'butt' . |
Returns
void
Defined in
src/sdk/components/map/FlightPathVectorLineRenderer.ts:26