[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] Reference for unit 'Graphics' (#lcl)

TIconImage

[Properties (by Name)] [Methods (by Name)] [Events (by Name)]

TIconImage - a primitive Icon class with handles for the Bitmap, Mask and Palette.

Declaration

Source position: graphics.pp line 1569

type TIconImage = class

protected

  procedure RawImageNeeded();

  

RawImageNeeded - if ADescOnly is True (descriptor only), then we need a Raw Image.

  procedure UpdateFromImage();

  

Updates the icon image from the specified raw image data.

public

  constructor Create();

  

Constructor for the class instance.

  destructor Destroy; override;

  

Destructor for the class instance.

  function ReleaseHandle;

  

Releases the Handle for the icon image.

  function ReleaseMaskHandle;

  

ReleaseMaskHandle - returns mask Bitmap handle to operating system.

  function ReleasePalette;

  

ReleasePalette - returns Palette handle to operating system.

  function UpdateHandles();

  

UpdateHandles - returns True when Bitmap and Mask handles have been updated.

  property Height: Word; [r]

  

The Height of the Icon.

  property Width: Word; [r]

  

The Width of the Icon.

  property PixelFormat: TPixelFormat; [r]

  

PixelFormat - the format of the Pixels in the Image.

  property Handle: HBITMAP; [r]

  

Handle - for the Bitmap.

  property MaskHandle: HBITMAP; [r]

  

MaskHandle - Bitmap handle for the Mask.

  property Palette: HPALETTE; [r]

  

Handle for the Palette.

  property RawImage: TRawImage; [r]

  

Raw image data for the icon image.

end;

Inheritance

TIconImage

  

TIconImage - a primitive Icon class with handles for the Bitmap, Mask and Palette.

|

TObject


Version 3.2 Generated 2024-02-25 Home