@Override
    public void paintSelf(Graphics g, int pixelSize, Color[][] colorArr, Color curColor) {
        if (start == null) return;
        ArrayList<Point> ch = bresenham(start, temp);
        g.setColor(curColor);
        for (Point p : ch) {
            
            g.fillRect(p.x*pixelSize+1, p.y*pixelSize+1, pixelSize-1, pixelSize-1);
        }
    }