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

Public Member Functions

 VisualMapTheme (Theme theme)
 
void Copy (VisualMapTheme 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

float m_BorderWidth
 
Color32 m_BorderColor
 
Color32 m_BackgroundColor
 
float m_TriangeLen = 20f
 
- 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

float borderWidth [get, set]
 the width of border. 边框线宽。 More...
 
Color32 borderColor [get, set]
 the color of dataZoom border. 边框颜色。 More...
 
Color32 backgroundColor [get, set]
 the background color of visualmap. 背景颜色。 More...
 
float? triangeLen [get, set]
 可视化组件的调节三角形边长。 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 VisualMapTheme.cs.

Property Documentation

◆ backgroundColor

Color32 XCharts.VisualMapTheme.backgroundColor
getset

the background color of visualmap. 背景颜色。

Definition at line 45 of file VisualMapTheme.cs.

45  {
46  get { return m_BackgroundColor; }
47  set { if (PropertyUtil.SetColor(ref m_BackgroundColor, value)) SetComponentDirty(); }
48  }

◆ borderColor

Color32 XCharts.VisualMapTheme.borderColor
getset

the color of dataZoom border. 边框颜色。

Definition at line 35 of file VisualMapTheme.cs.

35  {
36  get { return m_BorderColor; }
37  set { if (PropertyUtil.SetColor(ref m_BorderColor, value)) SetComponentDirty(); }
38  }

◆ borderWidth

float XCharts.VisualMapTheme.borderWidth
getset

the width of border. 边框线宽。

Definition at line 26 of file VisualMapTheme.cs.

26  {
27  get { return m_BorderWidth; }
28  set { if (PropertyUtil.SetStruct(ref m_BorderWidth, value)) SetVerticesDirty(); }
29  }

◆ triangeLen

float? XCharts.VisualMapTheme.triangeLen
getset

可视化组件的调节三角形边长。

Definition at line 54 of file VisualMapTheme.cs.

54  {
55  get { return m_TriangeLen; }
56  set { if (PropertyUtil.SetStruct(ref m_TriangeLen, value < 0 ? 1f : value)) SetVerticesDirty(); }
57  }

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