Palette.copyHandle

Overview | Methods | This Package | All Packages

Palette.copyHandle

Retrieves a copy of the Win32 handle (HPALETTE) for the palette.

Syntax

public final int copyHandle()

Return Value

Returns a copy of the Win32 handle to the palette that underlies this object.

Remarks

When you copy a palette handle, you own the handle and are responsible for freeing it.