@Override protected void redraw() {
        super.redraw();
        locale           = tile.getLocale();
        formatString     = new StringBuilder("%.").append(Integer.toString(tile.getDecimals())).append("f").toString();
        sectionsVisible  = tile.getSectionsVisible();

        barBackground.setStroke(tile.getBarBackgroundColor());
        setBarColor(tile.getCurrentValue());
        smallValueText.setFill(tile.getValueColor());
        smallUnitText.setFill(tile.getUnitColor());
        centerValueText.setFill(tile.getValueColor());
        centerUnitText.setFill(tile.getUnitColor());
        titleText.setFill(tile.getTitleColor());
        text.setFill(tile.getTextColor());
        separator.setStroke(tile.getBackgroundColor());

        titleText.setText(tile.getTitle());
        text.setText(tile.getText());
        centerUnitText.setText(tile.getUnit());

        resizeStaticText();
        resizeDynamicText();
    }
Adopted from CircularProgressTileSkin originally Created by hansolo on 03.03.17.
Modified by Wolf Runnermann on 22.11.2022
src/main/java/eu/hansolo/tilesfx/skins/CircleProgressTileNumberSkin.java