public final class BitmapImage extends BitmapImage<Image>
Image from Bitmap.| Modifier and Type | Method and Description |
|---|---|
static Image |
toToolkit(Device device,
Bitmap bitmap)
Creates and returns an instance of
Image obtained from the given bitmap. |
toolkitImagepublic static Image toToolkit(Device device,
Bitmap bitmap)
Image obtained from the given bitmap. The
image will have the same width and height as the bitmap.device - the device on which to the image wll be createdbitmap - the bitmap used to obtain Imagejava.lang.IllegalArgumentException - when the given bitmap size is empty