Google 会使用 AI 技术将内容翻译成您偏好的语言。AI 翻译可能包含错误。
ImageFill
使用集合让一切井井有条
根据您的偏好保存内容并对其进行分类。
可能影响图片呈现效果的图片显示选项。此选项适用于图片的宽高比与图片容器的宽高比不一致的情况。
| 枚举 |
UNSPECIFIED |
未指定 ImageFill。 |
GRAY |
用灰色条形填补图片与图片容器之间的间隙。 |
WHITE |
用白色横线填补图片与图片容器之间的间隙。 |
CROPPED |
图片会进行缩放,以使图片宽度和高度达到或超过容器尺寸。如果缩放后的图片高度大于容器高度,可能会剪裁图片的顶部和底部;如果缩放后的图片宽度大于容器宽度,则剪裁图片的左侧和右侧。这与在播放 4:3 视频时在宽屏电视上播放“缩放模式”类似。 |
[null,null,["最后更新时间 (UTC):2025-07-26。"],[],["The provided information outlines image display options when an image's aspect ratio differs from its container. `GRAY` and `WHITE` options fill the resulting gaps with gray or white bars, respectively. `CROPPED` scales the image to match or exceed container dimensions, potentially cropping the top/bottom or left/right edges. An `UNSPECIFIED` option exists, but its behavior is undefined. These settings control how the image is presented within its designated container.\n"]]