AspectConstraint Enum
Location
- Namespace
- Fuse.Elements
- Package
- Fuse.Elements 2.9.1
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.
Interface of AspectConstraint
AspectConstraint - AspectConstraint : AspectConstraint uno
AspectConstraint != AspectConstraint : bool uno
AspectConstraint & AspectConstraint : AspectConstraint uno
AspectConstraint ^ AspectConstraint : AspectConstraint uno
AspectConstraint == AspectConstraint : bool uno
AspectConstraint | AspectConstraint : AspectConstraint uno
HasFlag(AspectConstraint) : bool uno
None : AspectConstraint uno
The min/max layout constraints are ignored and the preferred aspect correct size is used
Preserve : AspectConstraint uno
The size will be adjusted to fit first within the maximum, then to meet the minimum size requirements. The aspect ratio is preserved.
PreserveTrim : AspectConstraint uno
Applies the Preserve and then Trim rules. This is the default.
Trim : AspectConstraint uno
The size is trimmed, or expanded, to meet the minimum/maximum layout constraints. The desired aspect ratio is not preserved.