code: @Override
      public void setLineThickness(@FloatRange(from = 1) final float lineThickness) {
          if (lineThickness < 1) {
              throw new IllegalArgumentException("Line thickness must not be less than 1");
          }
          if (Float.compare(lineThickness, Float.NaN) == 0) {
              throw new IllegalArgumentException("line thickness must be a valid float");
          }
          this.lineThickness = lineThickness;
      }
docs: {@inheritDoc}