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