Skip to content

Rectangle.Intersection(Rectangle) Method

Definition

Namespace: Brine2D.Core

Gets the intersection of this rectangle with another. Returns null if they don't intersect.

public System.Nullable<Brine2D.Core.Rectangle> Intersection(Brine2D.Core.Rectangle other);

Parameters

other Rectangle

Returns

System.Nullable<Rectangle>