Sign in Join
FPDoc Onlineexperiment

TIconImage.Create constructor

Member of TIconImagepublicIn unit Graphics

Constructor for the class instance.

Declaration

pascal
constructor Create(AFormat: TPixelFormat; AHeight: Word; AWidth: Word)
constructor Create(const AImage: TRawImage)
constructor Create(const AInfo: TIconInfo); virtual

Description

Create is the overloaded constructor for the class instance. It specifies a Raw image to be used, and calls the inherited Create method. Variants are provided with parameters which specify the dimensions and/or content for the icon image. The variant with the TIconInfo argument is used to create a new icon image when a handle is assigned in TSharedIcon.

See also

An experiment, built from Lazarus main 2dfa93c66e of 10-22-2026. Not the official Lazarus documentation.