FMX.ImgList.TLayer

From RAD Studio API Documentation
Jump to: navigation, search

System.Classes.TCollectionItemSystem.Classes.TPersistentSystem.TObjectTLayer

Delphi

TLayer = class (TCollectionItem)

C++

class PASCALIMPLEMENTATION TLayer : public System::Classes::TCollectionItem

Properties

Type Visibility Source Unit Parent
class public
FMX.ImgList.pas
FMX.ImgList.hpp
FMX.ImgList FMX.ImgList

Description

Represents a layer in a TLayers collection.

TLayer contains information about a source image that is used during drawing of a final image in an image list.

Each layer stores a case-insensitive Name of an image from the Source collection and a MultiResBitmap multi-resolution bitmap. Also, each layer stores SourceRect coordinates of a section of this multi-resolution bitmap (always in the scale 1 independently of the scale of the bitmap to be used). Only this section of the multi-resolution bitmap is drawn in the final image.

A TLayers collection holds a group of TLayer layers. New TLayer layer is appended to the TLayers collection by the Add method. Each TLayer has a Layers property that points to the TLayers collection to which the layer belongs.

The TLayer class inherits the basic functionality from the TCollectionItem class.

See Also