Font.finalize

Overview | Methods | Fields | This Package | All Packages

Font.finalize

Releases all resources allocated by this object.

Syntax

protected void finalize() throws Throwable

Exceptions

Throwable thrown if a problem occurs while freeing the object's resources.

Remarks

This method releases only those resources allocated by this Font object. If you create a Font object based on a previously allocated font handle, you must release this handle. Additionally, if you use the copyHandle method to retrieve the handle to the font underlying the Font object, you must manually free this handle.