UPPER.getElements().add(new LineTo(0.0582010582 * height, 0.49206349206349204 * height));
UPPER.getElements().add(new LineTo(0.0582010582 * height, 0.4074074074074074 * height));
UPPER.getElements().add(new LineTo(0.0, 0.4074074074074074 * height));
UPPER.getElements().add(new LineTo(0.0, 0.0));
UPPER.getElements().add(new LineTo(width, 0.0));
UPPER.getElements().add(new ClosePath());
final String UPPER_SVG = ShapeConverter.shapeToSvgString(UPPER);
final Path LOWER = new Path();
LOWER.setFillRule(FillRule.EVEN_ODD);
LOWER.getElements().add(new MoveTo(width, height));
LOWER.getElements().add(new LineTo(width, 0.5925925925925926 * height));
LOWER.getElements().add(new LineTo(width - 0.0582010582 * height, 0.5925925925925926 * height));
LOWER.getElements().add(new LineTo(width - 0.0582010582 * height, 0.5079365079365079 * height));
LOWER.getElements().add(new LineTo(0.0582010582 * height, 0.5079365079365079 * height));
LOWER.getElements().add(new LineTo(0.0582010582 * height, 0.5925925925925926 * height));
LOWER.getElements().add(new LineTo(0.0, 0.5925925925925926 * height));
LOWER.getElements().add(new LineTo(0.0, height));
LOWER.getElements().add(new LineTo(width, height));
LOWER.getElements().add(new ClosePath());
final String LOWER_SVG = ShapeConverter.shapeToSvgString(LOWER);
upperBackground.setStyle(new StringBuilder("-fx-shape:").append("\"").append(UPPER_SVG).append("\";").toString());
lowerBackground.setStyle(new StringBuilder("-fx-shape:").append("\"").append(LOWER_SVG).append("\";").toString());
flap.setStyle(new StringBuilder("-fx-shape:").append("\"").append(UPPER_SVG).append("\";").toString());