Pen.destroyHandle

Overview | Methods | Fields | This Package | All Packages

Pen.destroyHandle

Called when this object is about to destroy its handle.

Syntax

protected void destroyHandle()

Remarks

If you create a Pen object based on a Win32 handle, this handle is not freed in the default implementation of this method. However, in classes that extend the Pen class, you can override this function to free handles that the object does not own.