def write_to_screen(self, screen, mouse_handlers, write_position,
                        parent_style, erase_bg, z_index):
        " Fill the whole area of write_position with dots. "
        default_char = Char(' ', 'class:background')
        dot = Char('.', 'class:background')

        ypos = write_position.ypos
        xpos = write_position.xpos

        for y in range(ypos, ypos + write_position.height):
            row = screen.data_buffer[y]

            for x in range(xpos, xpos + write_position.width):
                row[x] = dot if (x + y) % 3 == 0 else default_char
Fill the whole area of write_position with dots.