code: @Override
      public void setParticleRadiusRange(
              @FloatRange(from = 0.5f) final float minRadius,
              @FloatRange(from = 0.5f) final float maxRadius) {
          if (minRadius < 0.5f || maxRadius < 0.5f) {
              throw new IllegalArgumentException("Particle radius must not be less than 0.5");
          }
          if (Float.compare(minRadius, Float.NaN) == 0
                  || Float.compare(maxRadius, Float.NaN) == 0) {
              throw new IllegalArgumentException("Particle radius must be a valid float");
          }
          if (minRadius > maxRadius) {
              throw new IllegalArgumentException(String.format(Locale.US,
                      "Min radius must not be greater than max, but min = %f, max = %f",
                      minRadius, maxRadius));
          }
          particleRadiusMin = minRadius;
          particleRadiusMax = maxRadius;
      }
docs: {@inheritDoc}