gpt4 book ai didi

c# - Winforms Drawing.rectangle.union 的 WPF 等价物是什么?

转载 作者:行者123 更新时间:2023-11-30 16:21:04 26 4
gpt4 key购买 nike

标题说明了一切。我需要知道 WPF 中与 drawing.rectange.union() 等效的代码是什么。我知道我可以只导入 System.Drawing,但我不想这样做。我是 WPF 的新手。

编辑:

我想要实现的是有两个矩形,并制作一个可以覆盖它们的矩形,以便进行缩放。

最佳答案

尝试 System.Windows.Rect Structure及其 Union方法。

关于c# - Winforms Drawing.rectangle.union 的 WPF 等价物是什么?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/13546754/

26 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com