| java.lang.Object | |
| ↳ | com.facebook.imagepipeline.filter.InPlaceRoundFilter |
Modified midpoint circle algorithm. Clients that look for better performances should use the native implementation of this algorithm in NativeRoundingFilter.
| Public Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| static void |
roundBitmapInPlace(Bitmap bitmap)
An implementation for rounding a given bitmap to a circular shape.
| ||||||||||
|
[Expand]
Inherited Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
| |||||||||||
An implementation for rounding a given bitmap to a circular shape. The underlying implementation uses a modified midpoint circle algorithm but instead of drawing a circle, it clears all pixels starting from the circle all the way to the bitmap edges.
| bitmap | The input Bitmap |
|---|