养成基本完毕,新UI,修bug,装备初步,
This commit is contained in:
@@ -43,6 +43,7 @@ namespace EasyChart
|
||||
{
|
||||
public Vector2 centerOffset = Vector2.zero;
|
||||
public float padding = 10f;
|
||||
public float labelRadialOffset = 0f;
|
||||
}
|
||||
|
||||
[System.Serializable]
|
||||
|
||||
@@ -7,6 +7,7 @@ namespace EasyChart
|
||||
public sealed class ChartTheme : ScriptableObject
|
||||
{
|
||||
public Object primaryFont;
|
||||
public Object tooltipFont;
|
||||
public Object monoFont;
|
||||
public float fontScale = 1f;
|
||||
|
||||
@@ -31,6 +32,13 @@ namespace EasyChart
|
||||
[Padding4] public Vector4 panelPadding = Vector4.zero;
|
||||
public float panelRadius = 0f;
|
||||
|
||||
public Color tooltipTextColor = Color.white;
|
||||
public Color tooltipBackgroundColor = new Color(0f, 0f, 0f, 0.8f);
|
||||
public Color tooltipBorderColor = new Color(0f, 0f, 0f, 0f);
|
||||
public float tooltipBorderWidth = 0f;
|
||||
[Padding4] public Vector4 tooltipPadding = new Vector4(8f, 8f, 4f, 4f);
|
||||
public float tooltipCornerRadius = 4f;
|
||||
|
||||
public Color plotBackgroundColor = new Color(0f, 0f, 0f, 0f);
|
||||
public Color plotBorderColor = new Color(0f, 0f, 0f, 0f);
|
||||
public float plotBorderWidth = 0f;
|
||||
|
||||
Reference in New Issue
Block a user