public class

RoundAsCirclePostprocessor

extends BasePostprocessor
java.lang.Object
   ↳ com.facebook.imagepipeline.request.BasePostprocessor
     ↳ com.facebook.imagepipeline.postprocessors.RoundAsCirclePostprocessor

Class Overview

Postprocessor that rounds a given image as a circle.

Summary

[Expand]
Inherited Fields
From class com.facebook.imagepipeline.request.BasePostprocessor
Public Constructors
RoundAsCirclePostprocessor()
RoundAsCirclePostprocessor(boolean enableAntiAliasing)
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
From class java.lang.Object
From interface com.facebook.imagepipeline.request.Postprocessor

Public Constructors

public RoundAsCirclePostprocessor ()

public RoundAsCirclePostprocessor (boolean enableAntiAliasing)

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