Case

ContentMode.fill

An option that resizes the content so it occupies all available space, both vertically and horizontally.

Declaration 宣言

case fill

Discussion 議論

This mode preserves the content’s aspect ratio. If the content doesn’t have the same aspect ratio as the available space, the content becomes the same size as the available space on one axis, and larger on the other axis.

See Also 参照

Getting Content Modes