ESlateBrushDrawType::Type

Enumerates ways in which an image can be drawn.

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,
    }
}

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

Remarks

Enumerates ways in which an image can be drawn.

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss