public void setType(Type type) {
    mType = type;
    updatePath();
    invalidateSelf();
  }
Sets the type of rounding process

@param type type of rounding process
drawee/src/main/java/com/facebook/drawee/drawable/RoundedCornersDrawable.java