拼ui 一些业务逻辑x实现
This commit is contained in:
@@ -0,0 +1,44 @@
|
||||
using UnityEngine;
|
||||
|
||||
namespace EasyChart
|
||||
{
|
||||
public enum ChartLabelAnchor
|
||||
{
|
||||
Center,
|
||||
TopLeft,
|
||||
Top,
|
||||
TopRight,
|
||||
Left,
|
||||
Right,
|
||||
BottomLeft,
|
||||
Bottom,
|
||||
BottomRight,
|
||||
}
|
||||
|
||||
public struct LabelDescriptor
|
||||
{
|
||||
public string key;
|
||||
public string text;
|
||||
|
||||
public bool visible;
|
||||
|
||||
public Vector2 anchorPx;
|
||||
public Vector2 offsetPx;
|
||||
|
||||
public ChartLabelAnchor anchor;
|
||||
public ChartTextRole role;
|
||||
|
||||
public int zOrder;
|
||||
public int priority;
|
||||
|
||||
public bool clipToPlot;
|
||||
|
||||
public float fontSizeOverride;
|
||||
public Color colorOverride;
|
||||
|
||||
public float rotationDeg;
|
||||
|
||||
public Color backgroundColor;
|
||||
public Texture2D backgroundTexture;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user