![]() |
AirControl
1.3.0
Open Source, Modular, and Extensible Flight Simulator For Deep Learning Research
|
Location type. Quick to set the general location. 位置类型。通过Align快速设置大体位置,再通过left,right,top,bottom微调具体位置。 More...


Public Types | |
| enum | Align { TopLeft, TopRight, TopCenter, BottomLeft, BottomRight, BottomCenter, Center, CenterLeft, CenterRight } |
| 对齐方式 More... | |
Public Member Functions | |
| Vector3 | GetPosition (float chartWidth, float chartHeight) |
| 返回在坐标系中的具体位置 More... | |
| void | OnChanged () |
| 属性变更时更新textAnchor,minAnchor,maxAnchor,pivot More... | |
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 | |
| Align | align [get, set] |
| 对齐方式。 More... | |
| float | left [get, set] |
| Distance between component and the left side of the container. 离容器左侧的距离。 More... | |
| float | right [get, set] |
| Distance between component and the left side of the container. 离容器右侧的距离。 More... | |
| float | top [get, set] |
| Distance between component and the left side of the container. 离容器上侧的距离。 More... | |
| float | bottom [get, set] |
| Distance between component and the left side of the container. 离容器下侧的距离。 More... | |
| TextAnchor | runtimeTextAlignment [get] |
| the anchor of text. Location对应的Anchor锚点 More... | |
| Vector2 | runtimeAnchorMin [get] |
| the minimum achor. Location对应的anchorMin。 More... | |
| Vector2 | runtimeAnchorMax [get] |
| the maximun achor. Location对应的anchorMax. More... | |
| Vector2 | runtimePivot [get] |
| the povot. Loation对应的中心点。 More... | |
| static Location | defaultLeft [get] |
| static Location | defaultRight [get] |
| static Location | defaultTop [get] |
| static Location | defaultBottom [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 |
Location type. Quick to set the general location. 位置类型。通过Align快速设置大体位置,再通过left,right,top,bottom微调具体位置。
Definition at line 21 of file Location.cs.
|
strong |
对齐方式
Definition at line 26 of file Location.cs.
|
inline |
|
inline |
属性变更时更新textAnchor,minAnchor,maxAnchor,pivot
Implements XCharts.IPropertyChanged.
Definition at line 313 of file Location.cs.
|
getset |
对齐方式。
Definition at line 57 of file Location.cs.
|
getset |
Distance between component and the left side of the container. 离容器下侧的距离。
Definition at line 93 of file Location.cs.
|
getset |
Distance between component and the left side of the container. 离容器左侧的距离。
Definition at line 66 of file Location.cs.
|
getset |
Distance between component and the left side of the container. 离容器右侧的距离。
Definition at line 75 of file Location.cs.
|
get |
the maximun achor. Location对应的anchorMax.
Definition at line 119 of file Location.cs.
|
get |
the minimum achor. Location对应的anchorMin。
Definition at line 113 of file Location.cs.
|
get |
the povot. Loation对应的中心点。
Definition at line 125 of file Location.cs.
|
get |
the anchor of text. Location对应的Anchor锚点
Definition at line 103 of file Location.cs.
|
getset |
Distance between component and the left side of the container. 离容器上侧的距离。
Definition at line 84 of file Location.cs.