addCircleBorder

open fun addCircleBorder(src: Bitmap, @IntRange(from = 1borderSize: Int, @ColorInt() color: Int): Bitmap

Return the round bitmap with border.

Return

the round bitmap with border

Parameters

src

The source of bitmap.

borderSize

The size of border.

color

The color of border.

open fun addCircleBorder(src: Bitmap, @IntRange(from = 1borderSize: Int, @ColorInt() color: Int, recycle: Boolean): Bitmap

Return the round bitmap with border.

Return

the round bitmap with border

Parameters

src

The source of bitmap.

borderSize

The size of border.

color

The color of border.

recycle

True to recycle the source of bitmap, false otherwise.