docs: public boolean isSameStyle(AreaStyle other)
      {
          double fsdif = Math.abs(getAverageFontSize() - other.getAverageFontSize());
          double wdif = Math.abs(getAverageFontWeight() - other.getAverageFontWeight());
          double sdif = Math.abs(getAverageFontStyle() - other.getAverageFontStyle());
          double ldif = Math.abs(getAverageColorLuminosity() - other.getAverageColorLuminosity());
          Color bg1 = getBackgroundColor();
          Color bg2 = other.getBackgroundColor();
          
          return fsdif <= Config.FONT_SIZE_THRESHOLD 
                  && wdif <= Config.FONT_WEIGHT_THRESHOLD
                  && sdif <= Config.FONT_STYLE_THRESHOLD
                  && ldif <= Config.TEXT_LUMINOSITY_THRESHOLD
                  && ((bg1 == null && bg2 == null) || (bg1 != null && bg2 != null && bg1.equals(bg2)));
      }