Exemplo n.º 1
0
 public RectangleInt2 Union(RectangleInt2 other) =>
 new RectangleInt2(VectorInt2.Min(Start, other.Start), VectorInt2.Max(End, other.End));
Exemplo n.º 2
0
 public RectangleInt2 Intersect(RectangleInt2 other) =>
 new RectangleInt2(VectorInt2.Max(Start, other.Start), VectorInt2.Min(End, other.End));