Package 

Interface BitmapTransformation


  • 
    public interface BitmapTransformation
    
                        

    In-place bitmap transformation. This interface is similar to Postprocessors, however, it only allows in-place bitmap transformations that are applied immediately after the bitmap has been decoded.

    NOTE: The original bitmap will not be copied and only the transformed bitmap will be cached in the bitmap memory cache. If the same image is requested without the transformation, it will be decoded again.

    • Method Summary

      Modifier and Type Method Description
      abstract Unit transform(Bitmap bitmap) Perform an in-place bitmap transformation.
      abstract Boolean modifiesTransparency() Specify whether the transformation modifies alpha support (transparent images).
      • Methods inherited from class java.lang.Object

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

      • transform

         abstract Unit transform(Bitmap bitmap)

        Perform an in-place bitmap transformation.

        Parameters:
        bitmap - the bitmap to transform
      • modifiesTransparency

         abstract Boolean modifiesTransparency()

        Specify whether the transformation modifies alpha support (transparent images).