Flutter Engine
The Flutter Engine
Public Member Functions | Public Attributes | List of all members
ui::AXNodeTextStyles Struct Reference

#include <ax_node_text_styles.h>

Public Member Functions

 AXNodeTextStyles ()
 
 AXNodeTextStyles (const AXNodeTextStyles &other)=delete
 
AXNodeTextStylesoperator= (const AXNodeTextStyles &)=delete
 
 AXNodeTextStyles (AXNodeTextStyles &&other)
 
AXNodeTextStylesoperator= (AXNodeTextStyles &&other)
 
bool operator== (const AXNodeTextStyles &other) const
 
bool operator!= (const AXNodeTextStyles &other) const
 
bool IsUnset () const
 

Public Attributes

int32_t background_color
 
int32_t color
 
int32_t invalid_state
 
int32_t overline_style
 
int32_t strikethrough_style
 
int32_t text_direction
 
int32_t text_position
 
int32_t text_style
 
int32_t underline_style
 
float font_size
 
float font_weight
 
std::string font_family
 

Detailed Description

Definition at line 18 of file ax_node_text_styles.h.

Constructor & Destructor Documentation

◆ AXNodeTextStyles() [1/3]

ui::AXNodeTextStyles::AXNodeTextStyles ( )

◆ AXNodeTextStyles() [2/3]

ui::AXNodeTextStyles::AXNodeTextStyles ( const AXNodeTextStyles other)
delete

◆ AXNodeTextStyles() [3/3]

ui::AXNodeTextStyles::AXNodeTextStyles ( AXNodeTextStyles &&  other)

Definition at line 23 of file ax_node_text_styles.cc.

24 : background_color(other.background_color),
25 color(other.color),
26 invalid_state(other.invalid_state),
27 overline_style(other.overline_style),
28 strikethrough_style(other.strikethrough_style),
29 text_direction(other.text_direction),
30 text_position(other.text_position),
31 text_style(other.text_style),
32 underline_style(other.underline_style),
33 font_size(other.font_size),
34 font_weight(other.font_weight),
35 font_family(std::move(other.font_family)) {}

Member Function Documentation

◆ IsUnset()

bool ui::AXNodeTextStyles::IsUnset ( ) const

◆ operator!=()

bool ui::AXNodeTextStyles::operator!= ( const AXNodeTextStyles other) const

Definition at line 67 of file ax_node_text_styles.cc.

67 {
68 return !operator==(other);
69}
bool operator==(const AXNodeTextStyles &other) const

◆ operator=() [1/2]

AXNodeTextStyles & ui::AXNodeTextStyles::operator= ( AXNodeTextStyles &&  other)

Definition at line 37 of file ax_node_text_styles.cc.

37 {
38 background_color = other.background_color;
39 color = other.color;
40 invalid_state = other.invalid_state;
41 overline_style = other.overline_style;
42 strikethrough_style = other.strikethrough_style;
43 text_direction = other.text_direction;
44 text_position = other.text_position;
45 text_style = other.text_style;
46 underline_style = other.underline_style;
47 font_size = other.font_size;
48 font_weight = other.font_weight;
49 font_family = other.font_family;
50
51 return *this;
52}

◆ operator=() [2/2]

AXNodeTextStyles & ui::AXNodeTextStyles::operator= ( const AXNodeTextStyles )
delete

◆ operator==()

bool ui::AXNodeTextStyles::operator== ( const AXNodeTextStyles other) const

Definition at line 54 of file ax_node_text_styles.cc.

54 {
55 return (background_color == other.background_color && color == other.color &&
56 invalid_state == other.invalid_state &&
57 overline_style == other.overline_style &&
58 strikethrough_style == other.strikethrough_style &&
59 text_direction == other.text_direction &&
60 text_position == other.text_position &&
61 font_size == other.font_size && font_weight == other.font_weight &&
62 text_style == other.text_style &&
63 underline_style == other.underline_style &&
64 font_family == other.font_family);
65}

Member Data Documentation

◆ background_color

int32_t ui::AXNodeTextStyles::background_color

Definition at line 35 of file ax_node_text_styles.h.

◆ color

int32_t ui::AXNodeTextStyles::color

Definition at line 36 of file ax_node_text_styles.h.

◆ font_family

std::string ui::AXNodeTextStyles::font_family

Definition at line 46 of file ax_node_text_styles.h.

◆ font_size

float ui::AXNodeTextStyles::font_size

Definition at line 44 of file ax_node_text_styles.h.

◆ font_weight

float ui::AXNodeTextStyles::font_weight

Definition at line 45 of file ax_node_text_styles.h.

◆ invalid_state

int32_t ui::AXNodeTextStyles::invalid_state

Definition at line 37 of file ax_node_text_styles.h.

◆ overline_style

int32_t ui::AXNodeTextStyles::overline_style

Definition at line 38 of file ax_node_text_styles.h.

◆ strikethrough_style

int32_t ui::AXNodeTextStyles::strikethrough_style

Definition at line 39 of file ax_node_text_styles.h.

◆ text_direction

int32_t ui::AXNodeTextStyles::text_direction

Definition at line 40 of file ax_node_text_styles.h.

◆ text_position

int32_t ui::AXNodeTextStyles::text_position

Definition at line 41 of file ax_node_text_styles.h.

◆ text_style

int32_t ui::AXNodeTextStyles::text_style

Definition at line 42 of file ax_node_text_styles.h.

◆ underline_style

int32_t ui::AXNodeTextStyles::underline_style

Definition at line 43 of file ax_node_text_styles.h.


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