Class BitmapImage
java.lang.Object
com.teamdev.jxbrowser.view.graphics.BitmapImage<javafx.scene.image.Image>
com.teamdev.jxbrowser.view.javafx.graphics.BitmapImage
A JavaFX-specific implementation that allows getting
Image
from Bitmap
.- Since:
- 7.7
-
Method Summary
Methods inherited from class com.teamdev.jxbrowser.view.graphics.BitmapImage
toolkitImage
-
Method Details
-
toToolkit
Creates and returns an instance ofImage
obtained from the givenbitmap
. The image will have the same width and height as the bitmap.- Parameters:
bitmap
- the bitmap used to obtainImage
- Throws:
IllegalArgumentException
- when the givenbitmap
size is empty
-