From RAD Studio API Documentation
Jump to: navigation, search



TLayers = class (TOwnedCollection)


class PASCALIMPLEMENTATION TLayers : public System::Classes::TOwnedCollection


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


Represents a collection containing TLayer layers.

The TLayers collection contains TLayer layers.

Each element in the Destination collection of a TImageList image list can include several layers, which are included in the Layers collection.

During generation of final images, bitmaps with the most appropriate scales from all visible layers are sequentially drawn beginning from layer 0 and up to the last Count layer. An image list object, at first, draws the bitmap from layer 0, then the bitmap from layer 1 is drawn over the obtained image, then the bitmap from layer 2 is drawn over the obtained image, and so on. Notice that only the image in the TLayer.SourceRect section of the multi-resolution bitmap is drawn in the final image.

The TLayers class inherits the basic functionality from the TOwnedCollection class.

See Also