protected void redraw() {
        boolean hasRoundedCorners = tile.getRoundedCorners();
        pane.setBorder(new Border(new BorderStroke(tile.getBorderColor(), BorderStrokeStyle.SOLID, hasRoundedCorners ? new CornerRadii(clamp(0, Double.MAX_VALUE, size * 0.025)) : CornerRadii.EMPTY, new BorderWidths(clamp(0, Double.MAX_VALUE, tile.getBorderWidth() / PREFERRED_WIDTH * size)))));
        pane.setBackground(new Background(new BackgroundFill(tile.getBackgroundColor(), hasRoundedCorners ? new CornerRadii(clamp(0, Double.MAX_VALUE, size * 0.025)) : CornerRadii.EMPTY, Insets.EMPTY)));

        backgroundImageView.setOpacity(tile.getBackgroundImageOpacity());

        notifyRegion.setRoundedCorner(hasRoundedCorners);
        notifyRegion.setBackgroundColor(tile.getNotifyRegionBackgroundColor());
        notifyRegion.setForegroundColor(tile.getNotifyRegionForegroundColor());
        notifyRegion.setTooltipText(tile.getNotifyRegionTooltipText());

        infoRegion.setRoundedCorner(hasRoundedCorners);
        infoRegion.setBackgroundColor(tile.getInfoRegionBackgroundColor());
        infoRegion.setForegroundColor(tile.getInfoRegionForegroundColor());
        infoRegion.setTooltipText(tile.getInfoRegionTooltipText());

        lowerRightRegion.setRoundedCorner(hasRoundedCorners);
        lowerRightRegion.setBackgroundColor(tile.getLowerRightRegionBackgroundColor());
        lowerRightRegion.setForegroundColor(tile.getLowerRightRegionForegroundColor());
        lowerRightRegion.setTooltipText(tile.getLowerRightRegionTooltipText());

        locale                = tile.getLocale();
        if (tile.getCustomDecimalFormatEnabled()) {
            decimalFormat = tile.getCustomDecimalFormat();
        } else {
            formatString = new StringBuilder("%.").append(tile.getDecimals()).append("f").toString();
        }
        tickLabelFormatString = new StringBuilder("%.").append(tile.getTickLabelDecimals()).append("f").toString();
        sectionsVisible       = tile.getSectionsVisible();
        textSize              = tile.getTextSize();
    }
Adds a listener to the content bounds area.
Keep in mind that you can only add a listener to the bounds if the skin property is set
in the control.
src/main/java/eu/hansolo/tilesfx/skins/TileSkin.java