mirror of
https://github.com/XCharts-Team/XCharts.git
synced 2026-05-19 23:10:06 +00:00
3.0 - unitypackage
This commit is contained in:
27
Runtime/Component/DataZoom/DataZoomContext.cs
Normal file
27
Runtime/Component/DataZoom/DataZoomContext.cs
Normal file
@@ -0,0 +1,27 @@
|
||||
|
||||
using System.Collections.Generic;
|
||||
using UnityEngine;
|
||||
|
||||
namespace XCharts
|
||||
{
|
||||
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; }
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user