Draws a grid of one-pixel dots with the specified spacing, within the specified bounds, on the specified graphics surface, and in the specified color.
- graphics
The System.Drawing.Graphics to draw on.
- area
The System.Drawing.Rectangle that represents the dimensions of the grid.
- pixelsBetweenDots
The System.Drawing.Size that specified the height and width between the dots of the grid.
- backColor
The System.Drawing.Color of the background behind the grid.
The backColor parameter is used to calculate the fill color of the dots so that the grid is always visible against the background.