public static extern float GetTop([In] Rect target); public static extern bool Contains([In] Rect target, [In] Point point);