removePaint

open fun removePaint(graphicsConsumer: Consumer<Graphics2D>)

Removes a paint listener

Parameters

graphicsConsumer

A consumer that was used to draw on the Graphics object.