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

Settings related to base line. 线条基础配置。 More...

Inheritance diagram for XCharts.BaseLine:
Collaboration diagram for XCharts.BaseLine:

Public Member Functions

 BaseLine (bool show)
 
void Copy (BaseLine axisLine)
 
LineStyle.Type GetType (LineStyle.Type themeType)
 
float GetWidth (float themeWidth)
 
float GetLength (float themeLength)
 
Color32 GetColor (Color32 themeColor)
 
- 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

bool m_Show
 
LineStyle m_LineStyle = new LineStyle()
 
- Protected Attributes inherited from XCharts.ChartComponent
bool m_VertsDirty
 
bool m_ComponentDirty
 
Painter m_Painter
 

Properties

bool show [get, set]
 Set this to false to prevent the axis line from showing. 是否显示坐标轴轴线。 More...
 
LineStyle lineStyle [get, set]
 线条样式 More...
 
static BaseLine defaultBaseLine [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]
 

Detailed Description

Settings related to base line. 线条基础配置。

Definition at line 17 of file BaseLine.cs.

Property Documentation

◆ lineStyle

LineStyle XCharts.BaseLine.lineStyle
getset

线条样式

Definition at line 35 of file BaseLine.cs.

35  {
36  get { return m_LineStyle; }
37  set { if (value != null) { m_LineStyle = value; SetVerticesDirty(); } }
38  }

◆ show

bool XCharts.BaseLine.show
getset

Set this to false to prevent the axis line from showing. 是否显示坐标轴轴线。

Definition at line 27 of file BaseLine.cs.

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

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