## Intersect(RectangleF, RectangleF)

Returns a RectangleF structure that represents the intersection of two rectangles. If there is no intersection, and empty RectangleF is returned.

```csharp
public static RectangleF Intersect(RectangleF a, RectangleF b)
```

| Parameter | Type | Description |
| --- | --- | --- |
| a | RectangleF | First rectangle to intersect. |
| b | RectangleF | Second rectangle to intersect. |

### Return Value

A third RectangleF structure the size of which represents the overlapped area of the two specified rectangles.

### See Also

* struct [RectangleF](../)
* namespace [Aspose.Drawing](../../rectanglef/)
* assembly [Aspose.Drawing.Common](../../../)

---

## Intersect(RectangleF)

Replaces this RectangleF structure with the intersection of itself and the specified RectangleF structure.

```csharp
public void Intersect(RectangleF rect)
```

| Parameter | Type | Description |
| --- | --- | --- |
| rect | RectangleF | The rectangle to intersect. |

### See Also

* struct [RectangleF](../)
* namespace [Aspose.Drawing](../../rectanglef/)
* assembly [Aspose.Drawing.Common](../../../)


