FMX.ListView.Types.TListItemImage.FitInto
Delphi
procedure FitInto(const Bitmap: TBitmap; var InputRect, DestinationRect: TRectF);
C++
void __fastcall FitInto(Fmx::Graphics::TBitmap* const Bitmap, System::Types::TRectF &InputRect, System::Types::TRectF &DestinationRect);
Properties
| Type | Visibility | Source | Unit | Parent | 
|---|---|---|---|---|
| procedure function | public | FMX.ListView.Types.pas FMX.ListView.Types.hpp | FMX.ListView.Types | TListItemImage | 
Description
Fits the InputRect part of Bitmap into DestinationRect according to the current ScalingMode.
- Bitmap: TBitmap that is being fit.
- InputRect: source rectangle.
- DestinationRect: destination rectangle where the bitmap should be placed.