Package 

Class BitmapWrapper


  • 
    public final class BitmapWrapper
    
                        

    Wraps the Bitmap class to catch potential crashes.

    • Constructor Summary

      Constructors 
      Constructor Description
      BitmapWrapper(InternalLogger logger)
    • Method Summary

      Modifier and Type Method Description
      final Bitmap createBitmap(Integer bitmapWidth, Integer bitmapHeight, Bitmap.Config config, DisplayMetrics displayMetrics) Creates a bitmap with the given parameters.
      • Methods inherited from class java.lang.Object

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

      • BitmapWrapper

        BitmapWrapper(InternalLogger logger)
    • Method Detail

      • createBitmap

         final Bitmap createBitmap(Integer bitmapWidth, Integer bitmapHeight, Bitmap.Config config, DisplayMetrics displayMetrics)

        Creates a bitmap with the given parameters.

        Parameters:
        bitmapWidth - the width of the bitmap.
        bitmapHeight - the height of the bitmap.
        config - the config of the bitmap.
        displayMetrics - the optional display metrics to use.