[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] | Reference for unit 'FPimage' (#fcl)

# TFPMemoryImage

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

TFPMemoryImage - FreePascal base class for an image held in memory

## Declaration

Source position: fpimage.pp line 164

`type TFPMemoryImage = class(TFPCustomImage)`
`protected`
`procedure SetInternalPixel(); override;` |  | SetInternalPixel - specifies the integer Color of a pixel located at the given coordinates
`function GetInternalPixel(); override;` |  | GetInternalPixel - returns the integer Color of the specified pixel
`public`
`constructor create(); override;` |  | Create - constructor for TFPCustomImage: calls inherited Create then initialises position and size, makes a stringlist
`destructor destroy; override;` |  | Destroy - destructor for TFPCustomImage: frees the Palette then calls inherited Destroy
`procedure SetSize(); override;` |  | SetSize - specify the size of the Image
`end;`

## Inheritance

`TFPMemoryImage` |  | TFPMemoryImage - FreePascal base class for an image held in memory
`TFPCustomImage` |  | TFPCustomImage - FreePascal base definition for all Image classes
`TPersistent`
`TObject`

The latest version of this document can be found at lazarus-ccr.sourceforge.net.