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

#include <webcface/common/internal/message/canvas2d.h>

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

Public Member Functions

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

Public Attributes

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

◆ Canvas2DComponentData()

Canvas2DComponentData ( )
default

Member Function Documentation

◆ operator!=()

bool operator!= ( const Canvas2DComponentData other) const
inline

◆ operator==()

bool operator== ( const Canvas2DComponentData other) const
inline

Member Data Documentation

◆ color

int color = 0

◆ fill

int fill = 0

◆ geometry_type

std::optional<int> geometry_type

◆ on_click_field

std::optional<SharedString> on_click_field

◆ on_click_member

std::optional<SharedString> on_click_member

◆ origin_pos

std::array<double, 2> origin_pos

◆ origin_rot

double origin_rot

◆ properties

std::vector<double> properties

◆ stroke_width

double stroke_width

◆ text

◆ type

int type = 0

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