LavaUI docs

enum ImageContentMode

Swift

enum ImageContentMode

How the source bitmap maps into the layout box.

Sources/LavaUI/Image.swift:391

Cases

case stretch

Stretch to fill the layout box (default).

Sources/LavaUI/Image.swift:393

case fit

Preserve aspect, letterbox inside the box.

Sources/LavaUI/Image.swift:395

case fill

Preserve aspect, crop to fill the box.

Sources/LavaUI/Image.swift:397