控制图像的显示方式
Controls how the image is displayed
等比铺满:等比缩放保证图片完整展示在外框内
Contain: Scales the image proportionally to ensure it is fully visible within the container.
等比截取:等比缩放图片使图片填满外框,超出部分将被裁剪(隐藏显示)
Cover: Scales the image proportionally to fill the container, with any excess parts being cropped (hidden).
铺满:(默认)适配元素外框长宽拉伸铺满展示,图片可能会变形
Fill: (Default) Stretches the image to fill the container, the image may be distorted.
无:按图片正常尺寸与外框中心对齐展示,不对图片进行任何缩放调整,但是超出元素框部分会被裁剪(隐藏显示)
None: Displays the image at its original size, centered within the container. No scaling is applied, but parts outside the container will be cropped (hidden).
Zh
控制图像的显示方式
En
Controls how the image is displayed