Skip to content

Latest commit

 

History

History
23 lines (15 loc) · 919 Bytes

README.md

File metadata and controls

23 lines (15 loc) · 919 Bytes

RoundImage

This library is used for converting Bitmap or Drawable images to Round or Circular Shape.

How to use?

/* Simplay pass Bitmap in RoundImage.getRoundBitmap() and it will return Roundhape Bitmap */
Bitmap bitmap = RoundImage.getRoundBitmap("<Paas Here Your Images Bitmap>");
imageview2.setImageBitmap(bitmap);

/* Simplay pass Drawable in RoundImage.getRoundDrawable() and it will return Roundhape Drawable */
Drawable drawable = RoundImage.getRoundDrawable("<Paas Here Your Images Drawble>");
imageview1.setImageDrawable(drawable);

Where to use ?

Use anywhere in your project to give a circular or round shapes to youe image.

Output

ScreenShot ScreenShot