WebCFace 2.5.2
Web-based Communication Framework & Dashboard-like UI
Loading...
Searching...
No Matches
TemporalCanvas2DComponentData Struct Reference

#include <webcface/internal/component_internal.h>

Inheritance diagram for TemporalCanvas2DComponentData:
[legend]
Collaboration diagram for TemporalCanvas2DComponentData:
[legend]

Public Member Functions

 TemporalCanvas2DComponentData ()=default
 
bool operator== (const Canvas2DComponentData &other) const
 
bool operator!= (const Canvas2DComponentData &other) const
 

Public Attributes

std::shared_ptr< std::function< void()> > on_click_func_tmp
 
SharedString id
 
int type = 0
 
std::array< double, 2 > origin_pos
 
double origin_rot
 
int color = 0
 
int fill = 0
 
double stroke_width
 
std::optional< int > geometry_type
 
std::vector< double > properties
 
std::optional< SharedStringon_click_member
 
std::optional< SharedStringon_click_field
 
SharedString text
 

Constructor & Destructor Documentation

◆ TemporalCanvas2DComponentData()

Member Function Documentation

◆ operator!=()

bool operator!= ( const Canvas2DComponentData other) const
inlineinherited

◆ operator==()

bool operator== ( const Canvas2DComponentData other) const
inlineinherited

Member Data Documentation

◆ color

int color = 0
inherited

◆ fill

int fill = 0
inherited

◆ geometry_type

std::optional<int> geometry_type
inherited

◆ id

◆ on_click_field

std::optional<SharedString> on_click_field
inherited

◆ on_click_func_tmp

std::shared_ptr<std::function<void()> > on_click_func_tmp

◆ on_click_member

std::optional<SharedString> on_click_member
inherited

◆ origin_pos

std::array<double, 2> origin_pos
inherited

◆ origin_rot

double origin_rot
inherited

◆ properties

std::vector<double> properties
inherited

◆ stroke_width

double stroke_width
inherited

◆ text

SharedString text
inherited

◆ type

int type = 0
inherited

The documentation for this struct was generated from the following file: