AirControl  1.3.0
Open Source, Modular, and Extensible Flight Simulator For Deep Learning Research
XCharts.AxisSplitArea Class Reference

Split area of axis in grid area, not shown by default. 坐标轴在 grid 区域中的分隔区域,默认不显示。 More...

Inheritance diagram for XCharts.AxisSplitArea:
Collaboration diagram for XCharts.AxisSplitArea:

Public Member Functions

AxisSplitArea Clone ()
 
void Copy (AxisSplitArea splitArea)
 
Color32 GetColor (int index, BaseAxisTheme theme)
 
- 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 ()
 

Properties

bool show [get, set]
 Set this to true to show the splitArea. 是否显示分隔区域。 More...
 
List< Color32 > color [get, set]
 Color of split area. SplitArea color could also be set in color array, which the split lines would take as their colors in turns. Dark and light colors in turns are used by default. 分隔区域颜色。分隔区域会按数组中颜色的顺序依次循环设置颜色。默认是一个深浅的间隔色。 More...
 
static AxisSplitArea defaultSplitArea [get]
 
- 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]
 

Additional Inherited Members

- Protected Attributes inherited from XCharts.ChartComponent
bool m_VertsDirty
 
bool m_ComponentDirty
 
Painter m_Painter
 

Detailed Description

Split area of axis in grid area, not shown by default. 坐标轴在 grid 区域中的分隔区域,默认不显示。

Definition at line 19 of file AxisSplitArea.cs.

Property Documentation

◆ color

List<Color32> XCharts.AxisSplitArea.color
getset

Color of split area. SplitArea color could also be set in color array, which the split lines would take as their colors in turns. Dark and light colors in turns are used by default. 分隔区域颜色。分隔区域会按数组中颜色的顺序依次循环设置颜色。默认是一个深浅的间隔色。

Definition at line 40 of file AxisSplitArea.cs.

40  {
41  get { return m_Color; }
42  set { if (value != null) { m_Color = value; SetVerticesDirty(); } }
43  }

◆ show

bool XCharts.AxisSplitArea.show
getset

Set this to true to show the splitArea. 是否显示分隔区域。

Definition at line 29 of file AxisSplitArea.cs.

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

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