Ver Fonte

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

liyuxuan há 1 ano atrás
pai
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.LineColor = Colors.Red;
             polygonMeasureArgs.LineWidth = 2;
             polygonMeasureArgs.LineWidth = 2;
             polygonMeasureArgs.Transparency = 1;
             polygonMeasureArgs.Transparency = 1;
-            polygonMeasureArgs.FontColor = Colors.Black;
+            polygonMeasureArgs.FontColor = Colors.Red;
             polygonMeasureArgs.FillColor = Colors.Transparent;
             polygonMeasureArgs.FillColor = Colors.Transparent;
             polygonMeasureArgs.FontName = "Arial";
             polygonMeasureArgs.FontName = "Arial";
             polygonMeasureArgs.FontSize = 14;
             polygonMeasureArgs.FontSize = 14;
@@ -329,7 +329,7 @@ namespace Compdfkit_Tools.PDFControl
             rectPolygonMeasureArgs.IsOnlyDrawRect = true;
             rectPolygonMeasureArgs.IsOnlyDrawRect = true;
             rectPolygonMeasureArgs.LineWidth = 2;
             rectPolygonMeasureArgs.LineWidth = 2;
             rectPolygonMeasureArgs.Transparency = 1;
             rectPolygonMeasureArgs.Transparency = 1;
-            rectPolygonMeasureArgs.FontColor = Colors.Black;
+            rectPolygonMeasureArgs.FontColor = Colors.Red;
             rectPolygonMeasureArgs.FillColor = Colors.Transparent;
             rectPolygonMeasureArgs.FillColor = Colors.Transparent;
             rectPolygonMeasureArgs.FontName = "Arial";
             rectPolygonMeasureArgs.FontName = "Arial";
             rectPolygonMeasureArgs.FontSize = 14;
             rectPolygonMeasureArgs.FontSize = 14;