code: function(width, height, radius) {
  
              var minValue = Math.floor(Math.min(width / 2, height / 2));
  
              return Math.min(minValue, radius);
  
          }
docs: 根据传递进来的width、height和radius属性， 获取最适合的radius值