Sign in Join
FPDoc Onlineexperiment

TCustomBitmap.MaskHandleAllocated function

Member of TCustomBitmappublicIn unit Graphics

Determines if the mask handle has been allocated for the image.

Declaration

pascal
function MaskHandleAllocated: Boolean; override

Function result

Returns True if a mask handle has been allocated for the image.

Description

MaskHandleNeeded is an overridden Boolean function in TCustomBitmap, and is used to determine if MaskHandle has been allocated for the image mask. It implements the abstract virtual method defined in the ancestor class.

The return value is True when the MaskHandle property contains a non-zero value.

MaskHandleAllocated is used in the implementation of methods like:

  • BitmapHandleNeeded
  • SetTransparentColor
  • SetBitmapHandle
  • CreateMask
  • Assign

See also

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.