code: @Override
      public void setLineLength(@FloatRange(from = 0) final float lineLength) {
          if (lineLength < 0) {
              throw new IllegalArgumentException("line length must not be negative");
          }
          if (Float.compare(lineLength, Float.NaN) == 0) {
              throw new IllegalArgumentException("line length must be a valid float");
          }
          this.lineLength = lineLength;
      }
docs: {@inheritDoc}