intersect method
intersect
Replaces this Rectangle with the intersection of itself and the specified Rectangle.
def intersect(self, rect):
    ...
| Parameter | Type | Description | 
|---|---|---|
| rect | Rectangle | The Rectanglewith which to intersect. | 
intersect
Returns a third Rectangle structure that represents the intersection of two other Rectangle structures. If there is no intersection, an empty Rectangle is returned.
Returns
A Rectangle that represents the intersection of a and b.
def intersect(self, a, b):
    ...
| Parameter | Type | Description | 
|---|---|---|
| a | Rectangle | A first rectangle to intersect. | 
| b | Rectangle | A second rectangle to intersect. | 
See Also
- module aspose.cad
- class Rectangle