TSharedCustomBitmap class
Implements the base class for a reference-counted shared image.
Declaration
TSharedCustomBitmap = class(TSharedRasterImage)Inheritance
- TSharedCustomBitmap
- TSharedRasterImage
- TSharedImage
Descends from it: TSharedBitmap TSharedGIFImage TSharedJpegImage TSharedPixmap TSharedPortableAnyMapGraphic TSharedPortableNetworkGraphic TSharedTiffImage
Description
TSharedCustomBitmap is a
TSharedRasterImage descendant
which implements the base class for reference-counted shared images, like:
TSharedBitmap, TSharedPixmap, TSharedJPEGImage, TSharedPortableNetworkGraphic
and TSharedPortableAnyMapGraphic.
See also
- TSharedRasterImage
- TSharedBitmap
- TSharedPixmap
- TSharedJPEGImage
- TSharedPortableNetworkGraphic
- TSharedPortableAnyMapGraphic
Properties
HandleType | public | HandleType the type of Bitmap Handle that has been allocated. |
Height | public | The Height of the Bitmap. |
PixelFormat | public | Storage format for pixels in the raw image data. |
Width | public | The Width of the Bitmap. |
Methods
FreeHandle | protected | Frees the Handle and the Palette for the shared Bitmap. |
FreePalette | protected | Frees the handle in the Palette property. |
FreeImage | protected | Frees raw image data for the shared bitmap and resets its image descriptor. |
ReleasePalette | protected | Returns the Handle of the released Palette. |
GetPixelFormat | protected | Gets the value for the PixelFormat property. |
IsEmpty | protected | Determines if the shared bitmap is empty. |
Create | public | Create - constructor for TSharedCustomBitmap: calls inherited Create and initializes the image. |
Destroy | public | Destructor for the class instance. |
HandleAllocated | public | Determines if the handle for the shared bitmap has been allocated. |
ImageAllocated | public | ImageAllocated - returns True if an image has been allocated. |
Inherited
From TSharedRasterImage (4)
An experiment, built from Lazarus main 2dfa93c66e of 10-22-2026. Not the official Lazarus documentation.
