Navigation
API > API/Runtime > API/Runtime/SlateCore > API/Runtime/SlateCore/FSlateRect
Description
Creates a rect from a top left point and extent. Provided as a factory function to not conflict with the TopLeft + BottomRight ctor.
| Name | FromPointAndExtent |
| Type | function |
| Header File | /Engine/Source/Runtime/SlateCore/Public/Layout/SlateRect.h |
| Include Path | #include "Layout/SlateRect.h" |
static FSlateRect FromPointAndExtent
(
const UE::Slate::FDeprecateVector2DParameter & TopLeft,
const UE::Slate::FDeprecateVector2DParameter & Size
)