Answered
Clipping a Rectangle using Extendscript?
- October 14, 2022
- 1 reply
- 3735 views
I'm trying to write a function that takes two possibly overlapping rectangles and returns an array of rectangles that cover the area of rectangle A, but exclude area of rectangle B.
rect A= x1="800.7" x2="1000.35" y1="11.37" y2="90.17"
rect B= x1="833.967 " x2="1000.697" y1="11.37" y2="90.17"T
i want to place my image in the resulting rectangle
result rect= rect A- rect B
i am available to get the bounds for both the reactangles but not sure how to get the result reactangle and also how to place image in the resultanted rectangle please the attachment for proper understanding


