Explorar el Código

ComPDFKit.Tool(win)-补充选中框颜色参数

liyijie hace 3 meses
padre
commit
a011a3e2c2

+ 1 - 1
Demo/Examples/ComPDFKit.Tool/DrawTool/MultiSelectedRect.cs

@@ -421,7 +421,7 @@ namespace ComPDFKit.Tool.DrawTool
                                     if (selectedType == SelectedType.PDFEdit)
                                     {
                                         //Edit Settings Frame
-                                        DrawCirclePoint(drawDC, GetIgnorePoints(), pointSize, PointPen, new SolidColorBrush(Color.FromRgb(71, 126, 222)));
+                                        DrawCirclePoint(drawDC, GetIgnorePoints(), pointSize, PointPen, PointBrush);
                                     }
                                     else
                                     {

+ 1 - 1
Demo/Examples/ComPDFKit.Tool/DrawTool/SelectedRect.cs

@@ -310,7 +310,7 @@ namespace ComPDFKit.Tool.DrawTool
                     case DrawPointType.Circle:
                         if (selectedType == SelectedType.PDFEdit)
                         {
-                            DrawCirclePoint(drawDC, GetIgnorePoints(), pointSize, PointPen, new SolidColorBrush(Color.FromRgb(71, 126, 222)));
+                            DrawCirclePoint(drawDC, GetIgnorePoints(), pointSize, PointPen, PointBrush);
 
                             //DrawEditSelectionBox(drawDC, PointPen);
                         }