STRUCT v1.8.0

ui::Style

kn::ui::Style

Declared in kraken/ui/UI.hpp

Reference

C++ API
std::optional< Color > backgroundColor

No description in the source header.

slice

variable
Rect slice

No description in the source header.

offset

variable
Vec2 offset {0.0, 0.0}

No description in the source header.

textColor

variable
std::optional< Color > textColor

No description in the source header.

padding

variable
double padding = 0.0

No description in the source header.

margin

variable
double margin = 0.0

No description in the source header.

gap

variable
double gap = 0.0

No description in the source header.

borderWidth

variable
int borderWidth = 0

No description in the source header.

borderRadius

variable
double borderRadius = 0.0

No description in the source header.

borderColor

variable
std::optional< Color > borderColor

No description in the source header.

width

variable
std::optional< double > width

No description in the source header.

height

variable
std::optional< double > height

No description in the source header.

Find your next step

Start typing to search the manual.