setPaint

static void setPaint(Consumer<Graphics2D> graphicsConsumer)

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

Deprecated

see addPaint

Parameters

graphicsConsumer

A consumer meant to draw on the Graphics object.