Sign in Join
FPDoc Onlineexperiment

TRasterImage.Create constructor

Member of TRasterImagepublicIn unit Graphics

Constructor for the class instance.

Declaration

pascal
constructor Create; override

Description

Create is the overridden constructor for the class instance, and calls the inherited constructor on entry. Create ensures that the internal shared image instance is created and referenced for the implementation.

Create sets the default value for the TransparentColor property to clDefault. This is done for Delphi compatibility where clDefault indicates that the bottom left pixel in the image is used as the transparent color.

See also

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.