paint

override fun paint(graphics: Graphics2D, width: Int, height: Int, content: (Graphics2D, Int, Int) -> Unit)

Runs draw, with ContentDrawScope.drawContent painting content.