code: public void setMinStrokeWidth(float width) {
          minStrokeWidth = TypedValue.applyDimension(TypedValue.COMPLEX_UNIT_DIP, width, getResources().getDisplayMetrics());
      }
docs: Sets the minimum stroke width
  
  @param width The width (in dp)