嗨,我想将我的图表分成四个部分。我如何定义其他 3 个边界。
Rect b = activeDiagram.Panel.DiagramBounds; // b = (-370, -190, 3099, 2450)
Rect bounds1 = new Rect((new System.Windows.Point(b.X,b.Y)), (new System.Windows.Point( (w/2) + b.X, (h/2) + b.Y ))); // bounds1 = (-370, -190, 1549.5, 1225)