API reference / @zaes/tactical-graphics / WireStyle
Interface: WireStyle
Defined in: tacticalgraphics/graphics/WireObstacle.ts:44
What a wire graphic repeats along its line.
Properties
gap
gap: number;Defined in: tacticalgraphics/graphics/WireObstacle.ts:54
Spaces between groups, one space = one mark width.
height
height: number;Defined in: tacticalgraphics/graphics/WireObstacle.ts:58
Mark height, as a multiple of the mark width.
innerGap?
optional innerGap?: number;Defined in: tacticalgraphics/graphics/WireObstacle.ts:56
Spaces between the marks inside a group. 0 means they touch.
mark
mark: "cross" | "oval";Defined in: tacticalgraphics/graphics/WireObstacle.ts:46
cross = the barbed-wire X; oval = the concertina O.
perGroup
perGroup: number;Defined in: tacticalgraphics/graphics/WireObstacle.ts:52
Marks per group, drawn touching unless innerGap says otherwise.
rail
rail: boolean;Defined in: tacticalgraphics/graphics/WireObstacle.ts:48
Is the wire itself drawn? Unspecified is the one that is not.
railsAt?
optional railsAt?: WireRail[];Defined in: tacticalgraphics/graphics/WireObstacle.ts:50
Which wires are drawn, and where. Defaults to a single one through the middle.