The size is trimmed, or expanded, to meet the minimum/maximum layout constraints. The desired aspect ratio is not preserved.

Location

Namespace
Fuse.Elements
Package
Fuse.Elements 2.9.1

Returns

AspectConstraint

Possible Values

None

The min/max layout constraints are ignored and the preferred aspect correct size is used

Preserve

The size will be adjusted to fit first within the maximum, then to meet the minimum size requirements. The aspect ratio is preserved.

Trim

The size is trimmed, or expanded, to meet the minimum/maximum layout constraints. The desired aspect ratio is not preserved.

PreserveTrim

Applies the Preserve and then Trim rules. This is the default.