polygonCorners

Calculates the corners of a hexagon in pixel coordinates.

Return

A list of points representing the corners of the hexagon.

Parameters

layout

The layout of the hexagonal grid.

hex

The hexagon.