Пример #1
0
 public bool Overlaps(Rectangle rec)
 {
     return rec.ContainsAnyPortionOf(this) || ContainsAnyPortionOf(rec);
 }