unreal.Stretch¶
- class unreal.Stretch¶
Bases:
EnumBaseEStretch
C++ Source:
Module: Slate
File: SScaleBox.h
- FILL: Stretch = Ellipsis¶
Scales the content non-uniformly filling the entire space of the area.
- Type:
1
- SCALE_BY_SAFE_ZONE: Stretch = Ellipsis¶
Scales the content according to the size of the safe zone currently applied to the viewport.
- Type:
6
- SCALE_TO_FILL: Stretch = Ellipsis¶
Scales the content uniformly (preserving aspect ratio), until all sides meet or exceed the size of the area. Will result in clipping the longer side.
- Type:
5
- SCALE_TO_FIT: Stretch = Ellipsis¶
Scales the content uniformly (preserving aspect ratio) until it can no longer scale the content without clipping it.
- Type:
2
- SCALE_TO_FIT_X: Stretch = Ellipsis¶
Scales the content uniformly (preserving aspect ratio) until it can no longer scale the content without clipping it along the x-axis, the y-axis can/will be clipped.
- Type:
3