FSlateRoundedBoxBrush::FSlateRoundedBoxBrush

Creates and initializes a new instance with the specified color and corner radius

Choose your operating system:

Windows

macOS

Linux

References

Module

SlateCore

Header

/Engine/Source/Runtime/SlateCore/Public/Brushes/SlateRoundedBoxBrush.h

Include

#include "Brushes/SlateRoundedBoxBrush.h"

Syntax

template<typename FillColorType, typename RadiusType>
FSlateRoundedBoxBrush
(
    const FillColorType & InColor,
    RadiusType InRadius,
    const FVector2D & InImageSize
)

Remarks

Creates and initializes a new instance with the specified color and corner radius

Parameters

Parameter

Description

InColor

Linear Fill Color

InRadius

Corner Radius in Slate Units applied to the outline at each corner. X = Top Left, Y = Top Right, Z = Bottom Right, W = Bottom Left