Skip to content

five-on-it / apps/client/src/ui/minimap-draw / outline

Function: outline() ​

outline(g, points, px, pz): void

Defined in: apps/client/src/ui/minimap-draw.ts:58

Traces a polygon's outline (m) on the map, closed: a polygon zone's.

Parameters ​

g ​

CanvasRenderingContext2D

points ​

readonly object[]

px ​

(x) => number

pz ​

(z) => number

Returns ​

void