2021-11-23 13:20:07 +08:00
|
|
|
|
|
|
|
|
using UnityEngine;
|
|
|
|
|
|
2022-02-19 22:37:57 +08:00
|
|
|
namespace XCharts.Runtime
|
2021-11-23 13:20:07 +08:00
|
|
|
{
|
|
|
|
|
public class GridCoordContext : MainComponentContext, IRectContext
|
|
|
|
|
{
|
|
|
|
|
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 Vector3 position { get; internal set; }
|
2022-02-25 08:10:09 +08:00
|
|
|
public Vector3 center { get; internal set; }
|
2021-11-23 13:20:07 +08:00
|
|
|
public float left { get; internal set; }
|
|
|
|
|
public float right { get; internal set; }
|
|
|
|
|
public float bottom { get; internal set; }
|
|
|
|
|
public float top { get; internal set; }
|
2021-12-19 20:53:55 +08:00
|
|
|
public bool isPointerEnter { get; set; }
|
2021-11-23 13:20:07 +08:00
|
|
|
}
|
|
|
|
|
}
|