//根据相对坐标偏移量获取元素 public UiElement FindRelativeElement(int position, int offsetX, int offsetY) { UiNode relativeNode = uiNode.FindRelativeNode(position, offsetX, offsetY); UiElement relativeElement = new UiElement(relativeNode); return(relativeElement); }