Overview | Methods | This Package | All Packages
Frees all resources allocated by this object.
Syntax
public void dispose()
Remarks
The Graphics object has function-level scope. When the object goes out of scope, this method is called automatically.
The dispose method frees only the resources that it allocates. Thus, if you create a Graphics object based on a handle that you have allocated manually, you must manually free this handle.
See Also destroyHandle