Navigation
API > API/Runtime > API/Runtime/SlateCore > API/Runtime/SlateCore/Brushes
Inheritance Hierarchy
- FSlateBrush
- FSlateBoxBrush
- FSlateVectorBoxBrush
References
| Module | SlateCore |
| Header | /Engine/Source/Runtime/SlateCore/Public/Brushes/SlateBoxBrush.h |
| Include | #include "Brushes/SlateBoxBrush.h" |
Syntax
struct FSlateBoxBrush : public FSlateBrush
Remarks
A 3x3 box where the sides stretch horizontally and vertically and the middle stretches to fill. The corners will not be stretched. The size of the sides and corners is determined by the Margin as follows: _________
| Margin.Top | |||||||
| __ | _______ | __ | Margin.Right | ||||
| / | |||||||
| +--> | <--+ | ||||||
| / | __ | _______ | __ | ||||
| Margin.Left | Margin.Bottom | __ | _______ | __ |
Constructors
| Type | Name | Description | |
|---|---|---|---|
FSlateBoxBrush
(
const FName& InImageName, |
Make a 3x3 box that stretches the texture. | ||
FSlateBoxBrush
(
const FString& InImageName, |
|||
FSlateBoxBrush
(
const ANSICHAR* InImageName, |
|||
FSlateBoxBrush
(
const TCHAR* InImageName, |
|||
FSlateBoxBrush
(
UObject* InResourceObject, |
Make a 3x3 box that stretches the texture. | ||
FSlateBoxBrush
(
const FName& InImageName, |
Make a 3x3 box that stretches the texture. | ||
FSlateBoxBrush
(
const FString& InImageName, |
|||
FSlateBoxBrush
(
const ANSICHAR* InImageName, |
|||
FSlateBoxBrush
(
const WIDECHAR* InImageName, |
|||
FSlateBoxBrush
(
const FName& InImageName, |
|||
FSlateBoxBrush
(
const FString& InImageName, |
|||
FSlateBoxBrush
(
const FString& InImageName, |
|||
FSlateBoxBrush
(
const ANSICHAR* InImageName, |
|||
FSlateBoxBrush
(
const TCHAR* InImageName, |
|||
FSlateBoxBrush
(
const FName& InImageName, |
|||
FSlateBoxBrush
(
const FString& InImageName, |
|||
FSlateBoxBrush
(
const ANSICHAR* InImageName, |
|||
FSlateBoxBrush
(
const TCHAR* InImageName, |
|||
FSlateBoxBrush
(
UObject* InResourceObject, |
Make a 3x3 box that stretches the texture. | ||
FSlateBoxBrush
(
const ANSICHAR* InImageName, |
|||
FSlateBoxBrush
(
const WIDECHAR* InImageName, |
|||
FSlateBoxBrush
(
const FName& InImageName, |
|||
FSlateBoxBrush
(
const FString& InImageName, |
|||
FSlateBoxBrush
(
const ANSICHAR* InImageName, |
|||
FSlateBoxBrush
(
const TCHAR* InImageName, |
|||
FSlateBoxBrush
(
const FName& InImageName, |