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