浏览代码

compdfkit(win) - 测量Demo 多边形颜色

liyuxuan 1 年之前
父节点
当前提交
bd84a51826
共有 1 个文件被更改,包括 2 次插入2 次删除
  1. 2 2
      Demo/Examples/Compdfkit_Tools/Common/BarControl/CPDFMeasureBarControl.xaml.cs

+ 2 - 2
Demo/Examples/Compdfkit_Tools/Common/BarControl/CPDFMeasureBarControl.xaml.cs

@@ -303,7 +303,7 @@ namespace Compdfkit_Tools.PDFControl
             polygonMeasureArgs.LineColor = Colors.Red;
             polygonMeasureArgs.LineWidth = 2;
             polygonMeasureArgs.Transparency = 1;
-            polygonMeasureArgs.FontColor = Colors.Black;
+            polygonMeasureArgs.FontColor = Colors.Red;
             polygonMeasureArgs.FillColor = Colors.Transparent;
             polygonMeasureArgs.FontName = "Arial";
             polygonMeasureArgs.FontSize = 14;
@@ -329,7 +329,7 @@ namespace Compdfkit_Tools.PDFControl
             rectPolygonMeasureArgs.IsOnlyDrawRect = true;
             rectPolygonMeasureArgs.LineWidth = 2;
             rectPolygonMeasureArgs.Transparency = 1;
-            rectPolygonMeasureArgs.FontColor = Colors.Black;
+            rectPolygonMeasureArgs.FontColor = Colors.Red;
             rectPolygonMeasureArgs.FillColor = Colors.Transparent;
             rectPolygonMeasureArgs.FontName = "Arial";
             rectPolygonMeasureArgs.FontSize = 14;