Interface: MapMultiLineAirspaceShape
A projected airspace shape which can render its border as optionally offset lines.
Methods
renderLine
▸ renderLine(context
, offset
, lineWidth
, strokeStyle
, dash
, stream?
): void
Renders this shape's border with a line.
Parameters
Name | Type | Description |
---|---|---|
context | CanvasRenderingContext2D | The canvas rendering context to which to render. |
offset | number | The offset, in pixels, of the rendered line with respect to this shape's border. A positive offset will shift the line outside of the border. |
lineWidth | number | The stroke width of the line to render. |
strokeStyle | string | CanvasPattern | CanvasGradient | The stroke style of the line to render. |
dash | number [] | The dash of the line to render. |
stream? | PathStream | The path stream to which to render. If undefined, the path will be rendered directly to the canvas rendering context. |
Returns
void
Defined in
src/sdk/components/map/MapMultiLineAirspaceRenderer.ts:23