docs: @Override protected void resize() {
          double width  = clock.getWidth() - clock.getInsets().getLeft() - clock.getInsets().getRight();
          double height = clock.getHeight() - clock.getInsets().getTop() - clock.getInsets().getBottom();
          size          = width < height ? width : height;
          center        = size * 0.5;
  
          if (width > 0 && height > 0) {
              pane.setMaxSize(size, size);
              pane.relocate((clock.getWidth() - size) * 0.5, (clock.getHeight() - size) * 0.5);
  
              backgroundCanvas.setWidth(size);
              backgroundCanvas.setHeight(size);
              foregroundCanvas.setWidth(size);
              foregroundCanvas.setHeight(size);
              hoursCanvas.setWidth(size);
              hoursCanvas.setHeight(size);
              minutesCanvas.setWidth(size);
              minutesCanvas.setHeight(size);
              secondsCanvas.setWidth(size);
              secondsCanvas.setHeight(size);
              drawBackground();
          }
      }