AccessibilityNodeInfo.SetBoundsInScreen(Rect) 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.
Sets the node bounds in screen coordinates.
[Android.Runtime.Register("setBoundsInScreen", "(Landroid/graphics/Rect;)V", "GetSetBoundsInScreen_Landroid_graphics_Rect_Handler")]
public virtual void SetBoundsInScreen (Android.Graphics.Rect? bounds);
[<Android.Runtime.Register("setBoundsInScreen", "(Landroid/graphics/Rect;)V", "GetSetBoundsInScreen_Landroid_graphics_Rect_Handler")>]
abstract member SetBoundsInScreen : Android.Graphics.Rect -> unit
override this.SetBoundsInScreen : Android.Graphics.Rect -> unit
Parameters
- bounds
- Rect
The node bounds.
- Attributes
Exceptions
If called from an AccessibilityService.
Remarks
Sets the node bounds in screen coordinates.
<strong>Note:</strong> Cannot be called from an android.accessibilityservice.AccessibilityService
. This class is made immutable before being delivered to an AccessibilityService.
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.