Class: module:view/viz/Grid2D

module:view/viz/Grid2D(screen)

new module:view/viz/Grid2D(screen)

Draw grid cells to show votes. Basically, we have a rectangular grid of voter support. Even if the voterGeom is a circle. Later, when we draw, we make a clip in the shape of the voterGeom, and draw the grid inside the clip.
Parameters:
Name Type Description
screen Screen
Source: