The base grid constructor.
Rest
...args: anyThe size of a grid space in pixels.
The width of a grid space in pixels.
The height of a grid space in pixels.
The distance of a grid space in units.
The distance units used in this grid.
The style of the grid.
The thickness of the grid.
The color of the grid.
The opacity of the grid.
Is this a gridless grid?
Is this a square grid?
Is this a hexagonal grid?
Measure a shortest, direct path through the given waypoints.
The waypoints the path must pass through
Optional
options: { Additional measurement options
The function that returns the cost for a given move between grid spaces (default is the distance travelled along the direct path)
The measurements a shortest, direct path through the given waypoints.
The gridless grid class.