get
Returns a android.graphics.Bitmap of exactly the given width, height, and configuration, and containing only transparent pixels.
If no Bitmap with the requested attributes is present in the pool, a new one will be allocated.
Because this method erases all pixels in the Bitmap, this method is slightly slower than getDirty. If the is being obtained to be used in android.graphics.BitmapFactory or in any other case where every pixel in the android.graphics.Bitmap will always be overwritten or cleared, getDirty will be faster. When in doubt, use this method to ensure correctness.
Implementations can should clear out every returned Bitmap using the following:
bitmap.eraseColor(Color.TRANSPARENT);
Content copied to clipboard
See also
Parameters
The width in pixels of the desired android.graphics.Bitmap.
The height in pixels of the desired android.graphics.Bitmap.
The android.graphics.Bitmap.Config of the desired .