TNxFillMode
Type used to specify how image will occupy available space inside rectangular space (e.g. cell, item).Unit: NxTypes6.pas
TNxFillMode = (fmAspectFit, fmAspectFill, fmScaleToFill);
Value | Meaning |
---|---|
fmAspectFit | Resize image inside cell, but keep aspect ratio (ratio between vertical and horizontal size). |
fmAspectFill | Center image inside cell, without resizing (even if image size is larger than cell). |
fmScaleToFill | Scale image to the cell size (calls StretchDraw method of TCanvas). |