Navigation
API > API/Runtime > API/Runtime/SlateCore > API/Runtime/SlateCore/FGeometry
Description
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.
| Name | ToInflatedPaintGeometry |
| Type | function |
| Header File | /Engine/Source/Runtime/SlateCore/Public/Layout/Geometry.h |
| Include Path | #include "Layout/Geometry.h" |
FPaintGeometry ToInflatedPaintGeometry
(
const UE::Slate::FDeprecateVector2DParameter & InflateAmount
) const
The new paint geometry derived from this one.
Parameters
| Name | Remarks |
|---|---|
| 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. |