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

Public Types

enum  Layer { UnderLabel, AboveLabel }
 

Public Member Functions

void Reset ()
 
IconStyle Clone ()
 
void Copy (IconStyle iconStyle)
 
- 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]
 Whether the data icon is show. 是否显示图标。 More...
 
Layer layer [get, set]
 显示在上层还是在下层。 More...
 
Sprite sprite [get, set]
 The image of icon. 图标的图片。 More...
 
Color color [get, set]
 图标颜色。 More...
 
float width [get, set]
 图标宽。 More...
 
float height [get, set]
 图标高。 More...
 
Vector3 offset [get, set]
 图标偏移。 More...
 
Align align [get, set]
 水平方向对齐方式。 More...
 
bool autoHideWhenLabelEmpty [get, set]
 当label内容为空时是否自动隐藏图标 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]
 

Additional Inherited Members

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

Detailed Description

Definition at line 14 of file IconStyle.cs.

Property Documentation

◆ align

Align XCharts.IconStyle.align
getset

水平方向对齐方式。

Definition at line 75 of file IconStyle.cs.

75 { get { return m_Align; } set { m_Align = value; } }

◆ autoHideWhenLabelEmpty

bool XCharts.IconStyle.autoHideWhenLabelEmpty
getset

当label内容为空时是否自动隐藏图标

Definition at line 79 of file IconStyle.cs.

79 { get { return m_AutoHideWhenLabelEmpty; } set { m_AutoHideWhenLabelEmpty = value; } }

◆ color

Color XCharts.IconStyle.color
getset

图标颜色。

Definition at line 59 of file IconStyle.cs.

59 { get { return m_Color; } set { m_Color = value; } }

◆ height

float XCharts.IconStyle.height
getset

图标高。

Definition at line 67 of file IconStyle.cs.

67 { get { return m_Height; } set { m_Height = value; } }

◆ layer

Layer XCharts.IconStyle.layer
getset

显示在上层还是在下层。

Definition at line 50 of file IconStyle.cs.

50 { get { return m_Layer; } set { m_Layer = value; } }

◆ offset

Vector3 XCharts.IconStyle.offset
getset

图标偏移。

Definition at line 71 of file IconStyle.cs.

71 { get { return m_Offset; } set { m_Offset = value; } }

◆ show

bool XCharts.IconStyle.show
getset

Whether the data icon is show. 是否显示图标。

Definition at line 46 of file IconStyle.cs.

46 { get { return m_Show; } set { m_Show = value; } }

◆ sprite

Sprite XCharts.IconStyle.sprite
getset

The image of icon. 图标的图片。

Definition at line 55 of file IconStyle.cs.

55 { get { return m_Sprite; } set { m_Sprite = value; } }

◆ width

float XCharts.IconStyle.width
getset

图标宽。

Definition at line 63 of file IconStyle.cs.

63 { get { return m_Width; } set { m_Width = value; } }

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