FMX.Objects.TImage.WrapMode
From RAD Studio API Documentation
Delphi
property WrapMode: TImageWrapMode read FWrapMode write SetWrapMode default TImageWrapMode.iwFit;
C++
__property TImageWrapMode WrapMode = {read=FWrapMode, write=SetWrapMode, default=1};
Properties
| Type | Visibility | Source | Unit | Parent |
|---|---|---|---|---|
| property | published | FMX.Objects.pas FMX.Objects.hpp |
FMX.Objects | TImage |
Description
Specifies whether and how to resize, replicate, and position the bitmap image for rendering the TImage surface.
The WrapMode property should be one of the constants defined in the TImageWrapMode type:
-
iwOriginal--displays the image with its original dimensions. -
iwFit--best fit (keeping image proportions--the ratio between the width and height) for the TImage rectangle. Default. -
iwStretch--stretches the image to fill the entire rectangle of this TImage component. -
iwTile--tiles the TImage image to cover the entire rectangle of the TImage component.