The title explains it all. I need to know what is the equivalent code in WPF to drawing.rectange.union(). I know I could just import System.Drawing, but I don’t want to do it this way. I am very beginner to WPF.
EDIT:
What I am trying to achieve is have two rectangles and make a rectangle that can fit over both of them, for scaling purposes.
Try System.Windows.Rect Structure and its Union method.