## Intersect(Rectangle, Rectangle)

Restituisce un terzo[`Rectangle`](../../rectangle) struttura che rappresenta l'intersezione di altri due[`Rectangle`](../../rectangle) strutture. Se non c'è incrocio, un vuoto[`Rectangle`](../../rectangle) viene restituito.

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

| Parametro | Tipo | Descrizione |
| --- | --- | --- |
| a | Rectangle | Un primo rettangolo da intersecare. |
| b | Rectangle | Un secondo rettangolo da intersecare. |

### Valore di ritorno

UN[`Rectangle`](../../rectangle) che rappresenta l'intersezione di*a* e*b*.

### Guarda anche

* struct [Rectangle](../../rectangle)
* spazio dei nomi [Aspose.Imaging](../../rectangle)
* assemblea [Aspose.Imaging](../../../)

---

## Intersect(Rectangle)

Sostituisce questo[`Rectangle`](../../rectangle) con l'intersezione di se stesso e il specificato[`Rectangle`](../../rectangle) .

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

| Parametro | Tipo | Descrizione |
| --- | --- | --- |
| rect | Rectangle | Il[`Rectangle`](../../rectangle) con cui incrociarsi. |

### Guarda anche

* struct [Rectangle](../../rectangle)
* spazio dei nomi [Aspose.Imaging](../../rectangle)
* assemblea [Aspose.Imaging](../../../)

<!-- DO NOT EDIT: generated by xmldocmd for Aspose.Imaging.dll -->
