public Group finalPath(double xWidth, double yHeight) {
		Group finalPath = new Group();

		int intxWidth = Double.valueOf(xWidth).intValue();
		int intyHeight = Double.valueOf(yHeight).intValue();

		Dimension[] pathCoordinates = {
				new Dimension(intxWidth, 7 * intyHeight),
				new Dimension(7 * intxWidth, intyHeight),
				new Dimension(7 * intxWidth, 9 * intyHeight),
				new Dimension(9 * intxWidth, 7 * intyHeight) };

		Dimension[] pathCoordinates1 = {
				new Dimension(intxWidth, 6 * intyHeight),
				new Dimension(8 * intxWidth, intyHeight),
				new Dimension(6 * intxWidth, 13 * intyHeight),
				new Dimension(13 * intxWidth, 8 * intyHeight) };

		for (int i = 0; i < 4; i++) {
			double xPos = 9 * xWidth * (i % 2);
			double yPos = Math.ceil(i / 2) * yHeight * 9;

			finalPath.getChildren().addAll(
					this.corner(xWidth, yHeight, xPos, yPos, paint[i],
							Color.BLANCHEDALMOND));

			for (int j = 0; j < 2; j++) {
				double x = pathCoordinates[i].getWidth();
				double y = pathCoordinates[i].getHeight();

				@SuppressWarnings("rawtypes")
				RectangleBuilder rectangleBuilderpath = RectangleBuilder
						.create().x(x).y(y).stroke(paint[i])
						.strokeType(StrokeType.INSIDE).strokeWidth(20);
				Rectangle rectanglePath = null;

				switch (i) {
				case 0:
					rectanglePath = rectangleBuilderpath.width(5 * xWidth)
							.height(yHeight).build();
					break;
				case 1:
					rectanglePath = rectangleBuilderpath.width(xWidth)
							.height(5 * yHeight).build();
					break;
				case 2:
					rectanglePath = rectangleBuilderpath.width(xWidth)
							.height(yHeight * 5).build();
					break;
				case 3:
					rectanglePath = rectangleBuilderpath.width(xWidth * 5)
							.height(yHeight).build();
					break;
				}
				Rectangle rectanglePath1 = RectangleBuilder.create()
						.x(pathCoordinates1[i].getWidth())
						.y(pathCoordinates1[i].getHeight()).width(xWidth)
						.height(yHeight).stroke(paint[i])
						.strokeType(StrokeType.INSIDE).strokeWidth(20).build();

				finalPath.getChildren().add(rectanglePath);
				finalPath.getChildren().add(rectanglePath1);

			}

		}
		return finalPath;
	}