}
}*/
    public void drawPreview(Graphics2D g2d, MapView mv) {        if (shape.isRectangular()) {            Rectangle bounds = shape.getBounds();            g2d.fillRect(sx, sy, bounds.width, bounds.height);        } else if (!shape.isPolygonal()) {            Rectangle bounds = shape.getBounds();            g2d.fillOval(sx, sy, bounds.width, bounds.height);        }    }