@Override
  public void setBorder(int color, float width) {
    if (mBorderColor != color) {
      mBorderColor = color;
      invalidateSelf();
    }

    if (mBorderWidth != width) {
      mBorderWidth = width;
      updatePath();
      invalidateSelf();
    }
  }
Sets the border

@param color of the border
@param width of the border
drawee/src/main/java/com/facebook/drawee/drawable/RoundedColorDrawable.java