obtain
Returns a new BitmapResource wrapping the given Bitmap if the Bitmap is non-null or null if the given Bitmap is null.
Parameters
bitmap
A Bitmap.
bitmapPool
Returns a new BitmapResource wrapping the given Bitmap if the Bitmap is non-null or null if the given Bitmap is null.
A Bitmap.