public final class BitmapUtil
extends java.lang.Object
Bitmap to JavaFX Image.| Modifier and Type | Method and Description |
|---|---|
static javafx.scene.image.Image |
toImage(Bitmap bitmap)
Converts the given
bitmap to a JavaFX Image. |
public static javafx.scene.image.Image toImage(Bitmap bitmap)
bitmap to a JavaFX Image. The JavaFX image will have the
same width and height as the given bitmap. If the given bitmap is empty, then the method
returns an empty image.