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 . |
toolkitImage
public 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 Image
java.lang.IllegalArgumentException
- when the given bitmap
size is empty