createImagePanel
fun createImagePanel(bufferedImage: BufferedImage, draw: Graphics2D.() -> Unit): JPanel
Content copied to clipboard
Creates an ImagePanel instance which displays given bufferedImage and allows to draw on it using the given draw function.