Choose your operating system:
Windows
macOS
Linux
Module |
|
Header |
/Engine/Source/Runtime/SlateCore/Public/Styling/SlateBrush.h |
Include |
#include "Styling/SlateBrush.h" |
namespace ESlateBrushDrawType
{
enum Type
{
NoDrawType,
Box,
Border,
Image,
RoundedBox,
}
}
Name |
Description |
---|---|
NoDrawType |
Don't do anything |
Box |
Draw a 3x3 box, where the sides and the middle stretch based on the Margin |
Border |
Draw a 3x3 border where the sides tile and the middle is empty |
Image |
Draw an image; margin is ignored |
RoundedBox |
Draw a solid rectangle with an outline and corner radius |
Enumerates ways in which an image can be drawn.