Files
XCharts/Runtime/Component/DataZoom/DataZoomContext.cs

27 lines
878 B
C#
Raw Normal View History

2021-11-23 13:20:07 +08:00
using System.Collections.Generic;
using UnityEngine;
2022-02-19 22:37:57 +08:00
namespace XCharts.Runtime
2021-11-23 13:20:07 +08:00
{
public class DataZoomContext : MainComponentContext
{
public float x { get; internal set; }
public float y { get; internal set; }
public float width { get; internal set; }
public float height { get; internal set; }
public bool isDrag { get; internal set; }
public bool isCoordinateDrag { get; internal set; }
public bool isStartDrag { get; internal set; }
public bool isEndDrag { get; internal set; }
/// <summary>
/// 运行时实际范围的开始值
/// </summary>
public double startValue { get; set; }
/// <summary>
/// 运行时实际范围的结束值
/// </summary>
public double endValue { get; set; }
public bool invert { get; set; }
}
}