Package 

Interface Transformation

    • Method Summary

      Modifier and Type Method Description
      abstract Bitmap transform(Bitmap input, Size size) Apply the transformation to input and return the transformed Bitmap.
      abstract String getCacheKey() The unique cache key for this transformation.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • transform

         abstract Bitmap transform(Bitmap input, Size size)

        Apply the transformation to input and return the transformed Bitmap.

        Parameters:
        input - The input Bitmap to transform.
        size - The size of the image request.
      • getCacheKey

         abstract String getCacheKey()

        The unique cache key for this transformation.

        The key is added to the image request's memory cache key and should contain any params that are part of this transformation (e.g. size, scale, color, radius, etc.).