public Canvas getCanvas() {
return canvas;
}
public void fitArea() {
Zone room = dr.getRoomObject();
FreedomPolygon poly = room.getShape();
Path2D envPath = new Path2D.Double();
envPath = DrawingUtils.freedomPolygonToPath(poly);
Rectangle2D bounds = envPath.getBounds2D();
xScale = (CANVAS_WIDTH - (BORDER_X * 4)) / bounds.getWidth();
yScale = (CANVAS_HEIGHT - (BORDER_Y * 4)) / bounds.getHeight();