fromBitmap

Constructs an image source with a Bitmap.

Return

the new image source

Parameters

bitmap

the Bitmap to use as an image source