Modern applications tend to have a lot of graphic resources in their UIs. Images are used to implement backgrounds, glyphs of buttons, tabs or list items, icons, and so on. The TImageList component (a name familiar to Delphi VCL developers) implements a collection of images to be used once or multiple times in your application. You can have multiple image lists, and each implements a very effective set of functionalities.
A TImageList instance has the following capabilities:
- Acts as a centralized repository for multiple images (and each entry is implemented with MultiResBitmap so that it's like a table where the rows are the different images and the columns are the scale factor versions provided for each image).
- Supports multi-layer images, meaning you can compose an image through overlapping layers, with each one containing a different image.
- Enables caching, meaning once you have defined your source images (MultiResBitmaps) and destination images (possibly...