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