![]() |
Maria GDK 5.1.0.130
Documentation of native code in develop branch
|
#include <StkTextStyleSettings.h>
Public Member Functions | |
| void | clear () |
| void | setColor (const STK::Color4f &color) |
| const STK::Color4f & | getColor () const |
| void | setBackgroundColor (const STK::Color4f &color) |
| const std::optional< STK::Color4f > & | getBackgroundColor () const |
| bool | hasBackgroundColor () const |
| void | clearBackgroundColor () |
| void | setOutlineColor (const STK::Color4f &color) |
| const std::optional< STK::Color4f > & | getOutlineColor () const |
| bool | hasOutlineColor () const |
| void | clearOutlineColor () |
| void | setDrawBackground (bool draw_background) |
| const std::optional< bool > & | getDrawBackground () const |
| bool | hasDrawBackground () const |
| void | clearDrawBackground () |
| void | setCornerRadius (float corner_radius) |
| const std::optional< float > & | getCornerRadius () const |
| bool | hasCornerRadius () const |
| void | clearCornerRadius () |
| void | setPadding (float pad) |
| void | setPadding (float v_pad, float h_pad) |
| void | setPadding (float top_pad, float h_pad, float bottom_pad) |
| void | setPadding (float top_pad, float right_pad, float bottom_pad, float left_pad) |
| void | setPaddingVector (const STK::Vector4f &padding) |
| const std::optional< STK::Vector4f > & | getPadding () const |
| const std::optional< STK::Vector4f > & | getPaddingVector () const |
| bool | hasPadding () const |
| void | clearPadding () |
| void | setFontName (std::string font_name) |
| const std::string & | getFontName () const |
| void | setFontPixelSize (int font_pixel_size) |
| int | getFontPixelSize () const |
| void | setFontStyle (STK::FontStyle font_style) |
| STK::FontStyle | getFontStyle () const |
TextStyleSettings - Simple text style container.