Companion
object Companion
Content copied to clipboard
Functions
createImagePanel
Link copied to clipboard
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.