ImageStretch coding group

Description: WPF Enum: Stretch (MSDN Stretch Enumeration)

Codings

Name Code Lua access code Description
Fill 2 inmation.model.codes.ImageStretch.FILL The content is resized to fill the destination dimensions. The aspect ratio is not preserved
None 1 inmation.model.codes.ImageStretch.NONE The content preserves its original size
Uniform 3 inmation.model.codes.ImageStretch.UNIFORM The content is resized to fit in the destination dimensions while it preserves its native aspect ratio
UniformToFill 4 inmation.model.codes.ImageStretch.UNIFORMTOFILL The content is resized to fill the destination dimensions while it preserves its native aspect ratio. If the aspect ratio of the destination rectangle differs from the source, the source content is clipped to fit in the destination dimensions