unreal.SlateBrushDrawType

class unreal.SlateBrushDrawType

Bases: EnumBase

Enumerates ways in which an image can be drawn.

C++ Source:

  • Module: SlateCore

  • File: SlateBrush.h

BORDER: SlateBrushDrawType

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

Type:

2

BOX: SlateBrushDrawType

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

Type:

1

IMAGE: SlateBrushDrawType

Draw an image; margin is ignored

Type:

3

NO_DRAW_TYPE: SlateBrushDrawType

Don’t do anything

Type:

0

ROUNDED_BOX: SlateBrushDrawType

Draw a solid rectangle with an outline and corner radius

Type:

4