5#include "core/reflect.h"
How a filled quad is drawn beyond its flat tint: corners, an edge, a fade.
Definition ui_shape.h:15
float cornerRadius
Definition ui_shape.h:16
bool gradient
Fade the fill toward bottomColor at the bottom edge.
Definition ui_shape.h:21
float borderWidth
Edge stroke inside the rect, reference pixels; 0 = none.
Definition ui_shape.h:18
glm::vec4 borderColor
Definition ui_shape.h:19
glm::vec4 bottomColor
The fill at the bottom edge when gradient is set.
Definition ui_shape.h:23