public static void toCircle ( Bitmap bitmap , boolean antiAliased ) { Preconditions . checkNotNull ( bitmap ) ; nativeToCircleFilter ( bitmap , antiAliased ) ; }
This is a fast native implementation for rounding a bitmap . It takes the given bitmap and modifies it to be circular .