Parcourir la source

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

liyuxuan il y a 1 an
Parent
commit
bd84a51826

+ 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;