Module |
|
Header |
/Engine/Source/Runtime/Slate/Public/Widgets/Layout/SScaleBox.h |
Include |
#include "Widgets/Layout/SScaleBox.h" |
namespace EStretch
{
enum Type
{
None,
Fill,
ScaleToFit,
ScaleToFitX,
ScaleToFitY,
ScaleToFill,
ScaleBySafeZone,
UserSpecified,
}
}
Name |
Description |
---|---|
None |
Does not scale the content. |
Fill |
Scales the content non-uniformly filling the entire space of the area. |
ScaleToFit |
Scales the content uniformly (preserving aspect ratio) until it can no longer scale the content without clipping it. |
ScaleToFitX |
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. |
ScaleToFitY |
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. |
ScaleToFill |
Scales the content uniformly (preserving aspect ratio), until all sides meet or exceed the size of the area. |
ScaleBySafeZone |
Scales the content according to the size of the safe zone currently applied to the viewport. |
UserSpecified |
Scales the content by the scale specified by the user. |