ThirdParty.iOS4Unity.CGRect.Union C# (CSharp) Method

Union() public static method

public static Union ( CGRect a, CGRect b ) : CGRect
a CGRect
b CGRect
return CGRect
        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));
        }