FGeometry::ToInflatedPaintGeometry

Create a paint geometry relative to this one that whose local space is "inflated" by the specified amount in each direction.

Windows
MacOS
Linux

References

Module

SlateCore

Header

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

Include

#include "Layout/Geometry.h"

Syntax

FPaintGeometry ToInflatedPaintGeometry
(
    const FVector2D & InflateAmount
) const

Remarks

Create a paint geometry relative to this one that whose local space is "inflated" by the specified amount in each direction. The paint geometry inherits the widget's render transform.

Returns

The new paint geometry derived from this one.

Parameters

Parameter

Description

InflateAmount

Amount by which to "inflate" the geometry in each direction around the center point. Effectively defines a layout transform offset and an inflation of the LocalSize.

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