ViewAsserts.AssertHasScreenCoordinates(View, View, Int32, Int32) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Assert that a view has a particular x and y position on the visible screen.
[Android.Runtime.Register("assertHasScreenCoordinates", "(Landroid/view/View;Landroid/view/View;II)V", "")]
public static void AssertHasScreenCoordinates (Android.Views.View? origin, Android.Views.View? view, int x, int y);
[<Android.Runtime.Register("assertHasScreenCoordinates", "(Landroid/view/View;Landroid/view/View;II)V", "")>]
static member AssertHasScreenCoordinates : Android.Views.View * Android.Views.View * int * int -> unit
Parameters
- origin
- View
The root view of the screen.
- view
- View
The view.
- x
- Int32
The expected x coordinate.
- y
- Int32
The expected y coordinate.
- Attributes
Remarks
Assert that a view has a particular x and y position on the visible screen.
Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.