java.lang.Object | |
↳ | com.facebook.imagepipeline.nativecode.NativeRoundingFilter |
A fast native rounding filter.
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
NativeRoundingFilter() |
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
static void |
toCircle(Bitmap bitmap)
This is a fast, native implementation for rounding a bitmap.
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
![]() |
This is a fast, native implementation for rounding a bitmap. It takes the given bitmap and modifies it to be circular.
This implementation does not change the underlying bitmap dimensions, it only sets pixels that are outside of the circle to a transparent color.
bitmap | the bitmap to modify |
---|