unreal.Stretch
¶
-
class
unreal.
Stretch
¶ Bases:
unreal.EnumBase
EStretch
C++ Source:
Module: Slate
File: SScaleBox.h
-
FILL
¶ Scales the content non-uniformly filling the entire space of the area.
- Type
1
-
NONE
¶ Does not scale the content.
- Type
0
-
SCALE_BY_SAFE_ZONE
¶ Scales the content according to the size of the safe zone currently applied to the viewport.
- Type
6
-
SCALE_TO_FILL
¶ 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
¶ Scales the content uniformly (preserving aspect ratio) until it can no longer scale the content without clipping it.
- Type
2
-
SCALE_TO_FIT_X
¶ 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
-
SCALE_TO_FIT_Y
¶ Scales the content uniformly (preserving aspect ratio) until it can no longer scale the content without clipping it along the y-axis, the x-axis can/will be clipped.
- Type
4
-
USER_SPECIFIED
¶ Scales the content by the scale specified by the user.
- Type
7