@Override
  public void setBorder(int color, float width) {
    if (mBorderColor != color || mBorderWidth != width) {
      mBorderColor = color;
      mBorderWidth = width;
      mIsPathDirty = true;
      invalidateSelf();
    }
  }
@ Override public void setBorder ( int color , float width ) { if ( mBorderColor != color || mBorderWidth != width ) { mBorderColor = color ; mBorderWidth = width ; mIsPathDirty = true ; invalidateSelf ( ) ; } }
Sets the border
@param color of the border
@param width of the border