Hot answers tagged

1

You can use LEADTOOLS Imaging Pro SDK technology in your application. https://www.leadtools.com/sdk/products/imaging-pro You can use the LeadRect struct to see whether two rectangles intersect or not. Either using the Intersect or IntersectsWith methods. The code below adds two rectangles as annotations on a loaded image, finds the intersecting area, then ...


1

You don't need a 3rd party library to do this. Some built-in libraries will do this nicely. Process: Draw each rectangle on top of the existing image Find the intersection of the two rectangles Draw a third rectangle (perhaps filled with an alpha blend) Draw a rectangle: Rectangle ee = new Rectangle(10, 10, 30, 30); using (Pen ...


Only top voted, non community-wiki answers of a minimum length are eligible