layer.paint(c);
layer.paint(c, 0, 0);
    private void paintLayers(RenderingContext c, List layers) {        for (int i = 0; i < layers.size(); i++) {            Layer layer = (Layer) layers.get(i);            layer.paint(c);        }    }