public override double GetValue1() { rect1 = object1.Element.GetScreenBounds(); rect2 = object2.Element.GetScreenBounds(); Utility.Intersect(ref rect1, ref rect2, out rectInt); return(rectInt.Area()); }