unreal.SlateBrushDrawType

class unreal.SlateBrushDrawType

Bases: unreal.EnumBase

Enumerates ways in which an image can be drawn.

C++ Source:

  • Module: SlateCore

  • File: SlateBrush.h

BORDER

Draw a 3x3 border where the sides tile and the middle is empty

Type

2

BOX

Draw a 3x3 box, where the sides and the middle stretch based on the Margin

Type

1

IMAGE

Draw an image; margin is ignored

Type

3

NO_DRAW_TYPE

Don’t do anything

Type

0

ROUNDED_BOX

Draw a solid rectangle with an outline and corner radius

Type

4