Brush.dispose

Overview | Methods | Fields | This Package | All Packages

Brush.dispose

Frees all the resources allocated by this object.

Syntax

public void dispose()

Remarks

The dispose method frees only those resources allocated by the object. Such resources do not include handle copies that you retrieve using the object's methods; you must free these manually.

Once the dispose method is called, the Bitmap object is no longer useful.