mirror of
https://github.com/XCharts-Team/XCharts.git
synced 2026-05-16 21:40:41 +00:00
重构Title相关代码
This commit is contained in:
@@ -219,5 +219,10 @@ namespace XCharts.Runtime
|
||||
yield return new WaitForEndOfFrame();
|
||||
ChartHelper.SaveAsImage(rectTransform, canvas, imageType, path);
|
||||
}
|
||||
|
||||
public Vector3 GetTitlePosition(Title title)
|
||||
{
|
||||
return graphPosition + title.location.GetPosition(graphWidth, graphHeight);
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user