setPaint

open fun setPaint(graphicsConsumer: Consumer<Graphics2D>)

Deprecated

see addPaint

Sets the paint function for the script to draw on the OSRS canvas.

Parameters

graphicsConsumer

A consumer meant to draw on the Graphics object.