Class Overview
Postprocessor that rounds a given image as a circle.
Summary
Public Methods |
CacheKey
|
getPostprocessorCacheKey()
The default implementation of the CacheKey for a Postprocessor is null
|
void
|
process(Bitmap bitmap)
Clients should override this method if the post-processing can be done in place.
|
[Expand]
Inherited Methods |
From class
com.facebook.imagepipeline.request.BasePostprocessor
String
|
getName()
Returns the name of this postprocessor.
|
CacheKey
|
getPostprocessorCacheKey()
The default implementation of the CacheKey for a Postprocessor is null
|
CloseableReference<Bitmap>
|
process(Bitmap sourceBitmap, PlatformBitmapFactory bitmapFactory)
Clients should override this method only if the post-processed bitmap has to be of a different
size than the source bitmap.
|
void
|
process(Bitmap destBitmap, Bitmap sourceBitmap)
Clients should override this method if the post-processing cannot be done in place.
|
void
|
process(Bitmap bitmap)
Clients should override this method if the post-processing can be done in place.
|
|
From class
java.lang.Object
Object
|
clone()
|
boolean
|
equals(Object arg0)
|
void
|
finalize()
|
final
Class<?>
|
getClass()
|
int
|
hashCode()
|
final
void
|
notify()
|
final
void
|
notifyAll()
|
String
|
toString()
|
final
void
|
wait(long arg0, int arg1)
|
final
void
|
wait(long arg0)
|
final
void
|
wait()
|
|
From interface
com.facebook.imagepipeline.request.Postprocessor
|
Public Constructors
public
RoundAsCirclePostprocessor
()
Public Methods
public
CacheKey
getPostprocessorCacheKey
()
The default implementation of the CacheKey for a Postprocessor is null
Returns
- The CacheKey to use for caching. Not used if null
public
void
process
(Bitmap bitmap)
Clients should override this method if the post-processing can be done in place.
The provided bitmap is a copy of the source bitmap and the implementation is free to
modify it.
Parameters
bitmap |
the bitmap to be used both as input and as output
|