dispose abstract method

void dispose()

Releases the resources used by this painter.

This should be called whenever the painter is no longer needed.

After this method has been called, the object is no longer usable.

Implementation

void dispose();