TCustomImageListResolutions class
Provides multiple image resolutions in TCustomImageList.
Declaration
TCustomImageListResolutions = class(TObject)Inheritance
- TCustomImageListResolutions
- TObject
Description
TCustomImageListResolutions is a class used to implement support
for multiple image sizes (or resolutions) in
TCustomImageList.
TCustomImageListResolutions maintains an internal list with
TCustomImageListResolution class instances representing each of
the image sizes (and the raw image data for the size) available in the
TCustomImageList instance. In essence, it allows TCustomImageList to treat
each image resolution as a distinct parallel image list.
The ImageLists property provides access to the image list for a
specific image width (or resolution), and performs image scaling when needed.
New image resolutions are dynamically created and added to the container when
a size is requested that is not already present.
Use the Items property to access the TCustomImageListResolution
class instances stored in the container. Use the Count property to
determine the number of image resolutions stored in the container. Use the
Clear and Delete methods to maintain image resolutions
in the container.
TCustomImageListResolutions is used in the implementation of TCustomImageList.
See also
Properties
ImageLists | public | Provides access to an image list which uses the specified image width. |
Items | public | Provides indexed access to existing image resolutions in the container. |
Count | public | Number of image resolutions stored in the container. |
Methods
Create | public | Constructor for the class instance. |
Destroy | public | Destructor for the class instance. |
FindBestToScaleFrom | public | Finds the image resolution with the best size for scaling to the target width. |
Delete | public | Deletes the image resolution stored at the specified position in the container. |
Clear | public | Clears all image resolutions stored in the container. |
Inherited
From TObject (40)
AfterConstruction BeforeDestruction CheckDisposed ClassInfo ClassName ClassNameIs ClassParent ClassType CleanupInstance DefaultHandler DefaultHandlerStr Dispatch DispatchStr Disposed DisposeOf Equals FieldAddress Free FreeInstance GetDisposed GetHashCode GetInterface GetInterfaceByStr GetInterfaceEntry GetInterfaceEntryByStr GetInterfaceTable GetInterfaceWeak GetLastCastErrorInfo InheritsFrom InitInstance InstanceSize MethodAddress MethodName newinstance QualifiedClassName SafeCallException StringMessageTable SystemHasExtendedRTTI ToString UnitName
An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.
