Skip to content

API reference / @zaes/tactical-graphics / StaticMinefieldLayout

Interface: StaticMinefieldLayout ​

Defined in: tacticalgraphics/symbology/protectionLinePaints.ts:288

Where a static-depiction minefield's frame and mines go, in projected meters.

Properties ​

frame ​

ts
frame: ProjectedPosition[];

Defined in: tacticalgraphics/symbology/protectionLinePaints.ts:290

The closed frame: the left rail, the far end cap, the right rail back, the near cap.


halfHeight ​

ts
halfHeight: number;

Defined in: tacticalgraphics/symbology/protectionLinePaints.ts:294

Frame half-height.


mines ​

ts
mines: object[];

Defined in: tacticalgraphics/symbology/protectionLinePaints.ts:296

Where each glyph is centred, and the drawn line's direction there.

along ​

ts
along: ProjectedPosition;

at ​

ts
at: ProjectedPosition;

radius ​

ts
radius: number;

Defined in: tacticalgraphics/symbology/protectionLinePaints.ts:292

Mine radius.

Released under the MIT License.