public GraphicTest DrawGridAt(int x, int y, Color color, int size = 1, bool border = false) { int xOfGrid = (int)((1 + x) * grid_width); int yOfGrid = (int)((1 + y) * grid_height); int wOfGrid = (int)(grid_width * size); int hOfGrid = (int)(grid_height * size); if (border) { map.DrawGridAt(xOfGrid, yOfGrid, wOfGrid, hOfGrid, color, 1, Color.black); } else { map.DrawGridAt(xOfGrid, yOfGrid, wOfGrid, hOfGrid, color, 1); } return(this); }