暫無描述
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

DataZoomContext.cs 1.1KB

12345678910111213141516171819202122232425262728293031
  1. using System.Collections.Generic;
  2. using UnityEngine;
  3. namespace XCharts.Runtime
  4. {
  5. public class DataZoomContext : MainComponentContext
  6. {
  7. public float x { get; internal set; }
  8. public float y { get; internal set; }
  9. public float width { get; internal set; }
  10. public float height { get; internal set; }
  11. public bool isDrag { get; internal set; }
  12. public bool isCoordinateDrag { get; internal set; }
  13. public bool isStartDrag { get; internal set; }
  14. public bool isEndDrag { get; internal set; }
  15. /// <summary>
  16. /// 运行时实际范围的开始值
  17. /// </summary>
  18. public double startValue { get; set; }
  19. /// <summary>
  20. /// 运行时实际范围的结束值
  21. /// </summary>
  22. public double endValue { get; set; }
  23. public bool invert { get; set; }
  24. public bool isMarqueeDrag { get; set; }
  25. public Vector3 marqueeStartPos { get; set; }
  26. public Vector3 marqueeEndPos { get; set; }
  27. public Rect marqueeRect { get; set; }
  28. }
  29. }