Sign in Join
FPDoc Onlineexperiment

TPortableAnyMapGraphic.GetSharedImageClass function

Member of TPortableAnyMapGraphicprotectedIn unit Graphics

Gets the class reference used to create new shared image instances in the class.

Declaration

pascal
class function GetSharedImageClass: TSharedRasterImageClass; override

Description

GetSharedImageClass is a class function used to get the class reference needed to create a shared image in the class instance. The return value the TSharedRasterImage class type.

GetSharedImageClass is called from the implementation of the Assign method when a reference to an existing image is stored in the class instance. It is also used in CanShareImage to determine is the request image type is the one used in the current class instance.

This description is the one of Graphics.TRasterImage.GetSharedImageClass.

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