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