## Intersect(Rectangle, Rectangle)

Restituisce un terzoRectangle struttura che rappresenta l'intersezione di altri dueRectangle strutture. Se non c'è incrocio, un vuotoRectangle viene restituito.

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

| Parametro | Tipo | Descrizione |
| --- | --- | --- |
| a | Rectangle | Primo rettangolo da intersecare. |
| b | Rectangle | Secondo rettangolo da intersecare. |

### Valore di ritorno

UNRectangle che rappresenta l'intersezione di*a* e*b*.

### Guarda anche

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

---

## Intersect(Rectangle)

Sostituisce questoRectanglecon l'intersezione di se stesso e il specificatoRectangle .

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

| Parametro | Tipo | Descrizione |
| --- | --- | --- |
| rect | Rectangle | IlRectangle con cui incrociarsi. |

### Guarda anche

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

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