FSlateRect::ExtendBy

Return a rectangle that is extended on each side by the amount specified in each margin.

Windows
MacOS
Linux

References

Module

SlateCore

Header

/Engine/Source/Runtime/SlateCore/Public/Layout/SlateRect.h

Include

#include "Layout/SlateRect.h"

Syntax

FSlateRect ExtendBy
(
    const FMargin & ExtendAmount
) const

Remarks

Return a rectangle that is extended on each side by the amount specified in each margin.

Returns

An extended rectangle.

Parameters

Parameter

Description

ExtendAmount

The amount to extend the geometry.

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss