ESlateBrushDrawType::Type

Enumerates ways in which an image can be drawn.

Choose your operating system:

Windows

macOS

Linux

References

Module

SlateCore

Header

/Engine/Source/Runtime/SlateCore/Public/Styling/SlateBrush.h

Include

#include "Styling/SlateBrush.h"

Syntax

namespace ESlateBrushDrawType
{
    enum Type
    {
        NoDrawType,
        Box,
        Border,
        Image,
        RoundedBox,
    }
}

Values

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

Remarks

Enumerates ways in which an image can be drawn.