docs: private void init() {
          if (stops.isEmpty()) return;
  
          double minFraction = Collections.min(stops.keySet());
          double maxFraction = Collections.max(stops.keySet());
  
          if (Double.compare(minFraction, 0) > 0) { stops.put(0.0, new Stop(0.0, stops.get(minFraction).getColor())); }
          if (Double.compare(maxFraction, 1) < 0) { stops.put(1.0, new Stop(1.0, stops.get(maxFraction).getColor())); }
      }