-
public final class BitmapWrapperWraps the Bitmap class to catch potential crashes.
-
-
Constructor Summary
Constructors Constructor Description BitmapWrapper(InternalLogger logger)
-
Method Summary
Modifier and Type Method Description final BitmapcreateBitmap(Integer bitmapWidth, Integer bitmapHeight, Bitmap.Config config, DisplayMetrics displayMetrics)Creates a bitmap with the given parameters. -
-
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.
-
-
-
-