[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] |
Constructor for the class instance.
Source position: graphics.pp line 1569
public constructor TIconImage.Create( |
AFormat: TPixelFormat; |
AHeight: Word; |
AWidth: Word |
); |
const AImage: TRawImage |
); |
const AInfo: TIconInfo |
); virtual; |
AFormat |
|
Pixel format (color depth) for the image data. |
AHeight |
|
Height in pixels for the image. |
AWidth |
|
Width in pixels for the image. |
AImage |
|
Raw image data used to load the content in the image. |
AInfo |
|
Structure with Hotspot, Mask and Color information for the icon image. |
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.
Version 4.0 | Generated 2025-05-03 | Home |