AccessibilityNodeInfo.SetBoundsInScreen(Rect) 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
设置屏幕坐标中的节点边界。
[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
参数
- bounds
- Rect
节点边界。
- 属性
例外
如果从 AccessibilityService 调用。
注解
设置屏幕坐标中的节点边界。
<strong Note:</strong>> cannot be called from anandroid.accessibilityservice.AccessibilityService. 在传递到 AccessibilityService 之前,此类是不可变的。
Java文档android.view.accessibility.AccessibilityNodeInfo.setBoundsInScreen(android.graphics.Rect)。
本页的某些部分是根据 创建和共享的工作进行的修改,并根据 许可证中所述的条款使用。