调整SeriearcShaped参数重命名为roundCap

This commit is contained in:
monitor1394
2020-03-06 07:09:15 +08:00
parent 7465bb760d
commit 2c6d9dc483
7 changed files with 18 additions and 15 deletions

View File

@@ -181,7 +181,7 @@ namespace XCharts
private void DrawArcShape(VertexHelper vh, Serie serie, SerieData serieData, Vector3 centerPos,
Color color, ref float drawStartDegree, ref float drawEndDegree)
{
if (serie.arcShaped && serieData.runtimePieInsideRadius > 0)
if (serie.roundCap && serieData.runtimePieInsideRadius > 0)
{
var width = (serieData.runtimePieOutsideRadius - serieData.runtimePieInsideRadius) / 2;
var radius = serieData.runtimePieInsideRadius + width;