def METHOD_NAME(self, gc):
    "Draw the points of the line"
    # Shortcut out if we would draw transparently.
    if self.vertex_color_[3] != 0:
        with gc:
            gc.set_fill_color(self.vertex_color_)
            gc.set_line_dash(None)
            offset_points = [(x, y) for x, y in self.points]
            offset_points = resize(
                array(offset_points), (len(self.points), 2)
            )
            offset = self.vertex_size / 2.0
            if hasattr(gc, "draw_path_at_points"):
                path = gc.get_empty_path()
                path.rect(
                    -offset, -offset, self.vertex_size, self.vertex_size
                )
                gc.draw_path_at_points(offset_points, path, FILL_STROKE)
            else:
                for x, y in offset_points:
                    gc.draw_rect(
                        (
                            x - offset,
                            y - offset,
                            self.vertex_size,
                            self.vertex_size,
                        ),
                        FILL,
                    )