ui::Style
kn::ui::Style Declared in kraken/ui/UI.hpp
At a glance
12 membersReference
C++ APIbackgroundColor
variablestd::optional< Color > backgroundColorNo description in the source header.
slice
variableRect sliceNo description in the source header.
offset
variableVec2 offset {0.0, 0.0}No description in the source header.
textColor
variablestd::optional< Color > textColorNo description in the source header.
padding
variabledouble padding = 0.0No description in the source header.
margin
variabledouble margin = 0.0No description in the source header.
gap
variabledouble gap = 0.0No description in the source header.
borderWidth
variableint borderWidth = 0No description in the source header.
borderRadius
variabledouble borderRadius = 0.0No description in the source header.
borderColor
variablestd::optional< Color > borderColorNo description in the source header.
width
variablestd::optional< double > widthNo description in the source header.
height
variablestd::optional< double > heightNo description in the source header.