TextOverlay
TextOverlay
#include <MediaText_Widget.hpp>
Public Functions
| Name | |
|---|---|
| TextOverlay() =default | |
| TextOverlay(QString const & text_content, TextOrientation orient =TextOrientation::Horizontal, float x =0.5f, float y =0.5f, QColor const & text_color =Qt::white, int size =12, bool is_enabled =true) |
Public Attributes
| Name | |
|---|---|
| QString | text |
| TextOrientation | orientation |
| float | x_position |
| float | y_position |
| QColor | color |
| int | font_size |
| bool | enabled |
| int | id |
Public Functions Documentation
function TextOverlay
TextOverlay() =defaultfunction TextOverlay
inline TextOverlay(
QString const & text_content,
TextOrientation orient =TextOrientation::Horizontal,
float x =0.5f,
float y =0.5f,
QColor const & text_color =Qt::white,
int size =12,
bool is_enabled =true
)Public Attributes Documentation
variable text
QString text;variable orientation
TextOrientation orientation {TextOrientation::Horizontal};variable x_position
float x_position {0.5f};variable y_position
float y_position {0.5f};variable color
QColor color {Qt::white};variable font_size
int font_size {12};variable enabled
bool enabled {true};variable id
int id {-1};Updated on 2026-11-13 at 20:25:39 +0000