Pen.copyHandle

Overview | Methods | Fields | This Package | All Packages

Pen.copyHandle

Retrieves a copy of this pen's handle (HPEN).

Syntax

public final int copyHandle()

Return Value

Returns the Win32 handle to the pen.

Remarks

When you use copyHandle to retrieve the handle to a pen, you assume ownership of the handle and are responsible for freeing it.