This commit is contained in:
monitor1394
2022-03-24 08:37:06 +08:00
parent 6cb3709655
commit f597a3f116
78 changed files with 791 additions and 741 deletions

View File

@@ -9,7 +9,7 @@ namespace XCharts.Runtime
{
/// <summary>
/// Location type. Quick to set the general location.
/// 位置类型。通过Align快速设置大体位置再通过leftrighttopbottom微调具体位置。
/// |位置类型。通过Align快速设置大体位置再通过leftrighttopbottom微调具体位置。
/// </summary>
[Serializable]
public class Location : ChildComponent, IPropertyChanged
@@ -54,7 +54,7 @@ namespace XCharts.Runtime
}
/// <summary>
/// Distance between component and the left side of the container.
/// 离容器左侧的距离。
/// |离容器左侧的距离。
/// </summary>
public float left
{
@@ -63,7 +63,7 @@ namespace XCharts.Runtime
}
/// <summary>
/// Distance between component and the left side of the container.
/// 离容器右侧的距离。
/// |离容器右侧的距离。
/// </summary>
public float right
{
@@ -72,7 +72,7 @@ namespace XCharts.Runtime
}
/// <summary>
/// Distance between component and the left side of the container.
/// 离容器上侧的距离。
/// |离容器上侧的距离。
/// </summary>
public float top
{
@@ -81,7 +81,7 @@ namespace XCharts.Runtime
}
/// <summary>
/// Distance between component and the left side of the container.
/// 离容器下侧的距离。
/// |离容器下侧的距离。
/// </summary>
public float bottom
{
@@ -91,7 +91,7 @@ namespace XCharts.Runtime
/// <summary>
/// the anchor of text.
/// Location对应的Anchor锚点
/// |Location对应的Anchor锚点
/// </summary>
/// <value></value>
public TextAnchor runtimeTextAlignment { get { return m_TextAlignment; } }
@@ -101,17 +101,17 @@ namespace XCharts.Runtime
#endif
/// <summary>
/// the minimum achor.
/// Location对应的anchorMin。
/// |Location对应的anchorMin。
/// </summary>
public Vector2 runtimeAnchorMin { get { return m_AnchorMin; } }
/// <summary>
/// the maximun achor.
/// Location对应的anchorMax.
/// </summary>
/// |Location对应的anchorMax.
/// |</summary>
public Vector2 runtimeAnchorMax { get { return m_AnchorMax; } }
/// <summary>
/// the povot.
/// Loation对应的中心点。
/// |Loation对应的中心点。
/// </summary>
public Vector2 runtimePivot { get { return m_Pivot; } }
public float runtimeLeft { get; private set; }