AirControl  1.3.0
Open Source, Modular, and Extensible Flight Simulator For Deep Learning Research
XCharts.TooltipTheme Class Reference
Inheritance diagram for XCharts.TooltipTheme:
Collaboration diagram for XCharts.TooltipTheme:

Public Member Functions

 TooltipTheme (Theme theme)
 
void Copy (TooltipTheme theme)
 
- Public Member Functions inherited from XCharts.ComponentTheme
 ComponentTheme (Theme theme)
 
virtual void Copy (ComponentTheme theme)
 
virtual void Reset (ComponentTheme defaultTheme)
 
- Public Member Functions inherited from XCharts.ChartComponent
virtual void SetVerticesDirty ()
 
virtual void ClearVerticesDirty ()
 
virtual void SetComponentDirty ()
 
virtual void ClearComponentDirty ()
 
virtual void ClearDirty ()
 
virtual void SetAllDirty ()
 

Protected Attributes

LineStyle.Type m_LineType = LineStyle.Type.Solid
 
float m_LineWidth = 1f
 
Color32 m_LineColor
 
Color32 m_AreaColor
 
Color32 m_LabelTextColor
 
Color32 m_LabelBackgroundColor
 
- Protected Attributes inherited from XCharts.ComponentTheme
Font m_Font
 
Color m_TextColor
 
Color m_TextBackgroundColor
 
int m_FontSize = 18
 
- Protected Attributes inherited from XCharts.ChartComponent
bool m_VertsDirty
 
bool m_ComponentDirty
 
Painter m_Painter
 

Properties

LineStyle.Type lineType [get, set]
 the type of line. 坐标轴线类型。 More...
 
float lineWidth [get, set]
 the width of line. 指示线线宽。 More...
 
Color32 lineColor [get, set]
 the color of line. 指示线颜色。 More...
 
Color32 areaColor [get, set]
 the color of line. 区域指示的颜色。 More...
 
Color32 labelTextColor [get, set]
 the text color of tooltip cross indicator's axis label. 十字指示器坐标轴标签的文本颜色。 More...
 
Color32 labelBackgroundColor [get, set]
 the background color of tooltip cross indicator's axis label. 十字指示器坐标轴标签的背景颜色。 More...
 
- Properties inherited from XCharts.ComponentTheme
Font font [get, set]
 the font of text. 字体。 More...
 
Color textColor [get, set]
 the color of text. 文本颜色。 More...
 
Color textBackgroundColor [get, set]
 the color of text. 文本颜色。 More...
 
int fontSize [get, set]
 the font size of text. 文本字体大小。 More...
 
- Properties inherited from XCharts.ChartComponent
virtual bool vertsDirty [get]
 图表重绘标记。 More...
 
virtual bool componentDirty [get]
 组件重新初始化标记。 More...
 
bool anyDirty [get]
 需要重绘图表或重新初始化组件。 More...
 
Painter painter [get, set]
 
Action refreshComponent [get, set]
 
GameObject gameObject [get, set]
 

Detailed Description

Definition at line 14 of file TooltipTheme.cs.

Property Documentation

◆ areaColor

Color32 XCharts.TooltipTheme.areaColor
getset

the color of line. 区域指示的颜色。

Definition at line 55 of file TooltipTheme.cs.

55  {
56  get { return m_AreaColor; }
57  set { if (PropertyUtil.SetColor(ref m_AreaColor, value)) SetVerticesDirty(); }
58  }

◆ labelBackgroundColor

Color32 XCharts.TooltipTheme.labelBackgroundColor
getset

the background color of tooltip cross indicator's axis label. 十字指示器坐标轴标签的背景颜色。

Definition at line 74 of file TooltipTheme.cs.

74  {
75  get { return m_LabelBackgroundColor; }
76  set { if (PropertyUtil.SetColor(ref m_LabelBackgroundColor, value)) SetComponentDirty(); }
77  }

◆ labelTextColor

Color32 XCharts.TooltipTheme.labelTextColor
getset

the text color of tooltip cross indicator's axis label. 十字指示器坐标轴标签的文本颜色。

Definition at line 64 of file TooltipTheme.cs.

64  {
65  get { return m_LabelTextColor; }
66  set { if (PropertyUtil.SetColor(ref m_LabelTextColor, value)) SetComponentDirty(); }
67  }

◆ lineColor

Color32 XCharts.TooltipTheme.lineColor
getset

the color of line. 指示线颜色。

Definition at line 46 of file TooltipTheme.cs.

46  {
47  get { return m_LineColor; }
48  set { if (PropertyUtil.SetColor(ref m_LineColor, value)) SetVerticesDirty(); }
49  }

◆ lineType

LineStyle.Type XCharts.TooltipTheme.lineType
getset

the type of line. 坐标轴线类型。

Definition at line 28 of file TooltipTheme.cs.

28  {
29  get { return m_LineType; }
30  set { if (PropertyUtil.SetStruct(ref m_LineType, value)) SetVerticesDirty(); }
31  }

◆ lineWidth

float XCharts.TooltipTheme.lineWidth
getset

the width of line. 指示线线宽。

Definition at line 37 of file TooltipTheme.cs.

37  {
38  get { return m_LineWidth; }
39  set { if (PropertyUtil.SetStruct(ref m_LineWidth, value)) SetVerticesDirty(); }
40  }

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