public static Union ( |
||
a | ||
b | ||
return |
public static CGRect Union(CGRect a, CGRect b)
{
return CGRect.FromLTRB(Math.Min(a.X, b.X), Math.Min(a.Y, b.Y), Math.Max(a.Right, b.Right), Math.Max(a.Bottom, b.Bottom));
}