Enhanced image control with rounded corners, shadows, borders, and click effects.
img-fluid - Responsive image (fills container)rounded - Rounded cornersrounded-circle - Circular image (equal width/height)img-thumbnail - Thumbnail style with bordershadow - Drop shadowImage1.FlexFMXCSS.Text := 'rounded-circle shadow'; Image1.Width := 100; Image1.Height := 100; Image1.ScaleMode := isFit;
Image1.FlexFMXCSS.Text := 'img-thumbnail'; Image1.BorderWidth := 2; Image1.BorderColor := TAlphaColors.Lightgray; Image1.CornerRadius := 5;
Image1.Clickable := True; Image1.OnClick := ImageClickHandler;
// Add multiple resolutions for crisp display on all devices
Image1.MultiResBitmap.LoadItemFromFile('icon@1x.png', 1.0);
Image1.MultiResBitmap.LoadItemFromFile('icon@2x.png', 2.0);
Image1.MultiResBitmap.LoadItemFromFile('icon@3x.png', 3.0);
OnClick - Image clicked (when Clickable = True)OnMouseEnter / OnMouseLeave - Hover eventsisFit scale mode to preserve aspect ratio and prevent distortion