/// <summary>
 /// Returns the element visible at the given point, relative to the upper-left-most visible point in the document.
 /// </summary>
 /// <param name="x"></param>
 /// <param name="y"></param>
 /// <returns></returns>
 public GeckoHtmlElement ElementFromPoint(int x, int y)
 {
     return(GeckoHtmlElement.Create((nsIDOMHTMLElement)_domDocument.ElementFromPoint(x, y)));
 }
Beispiel #2
0
 /// <summary>
 /// Returns the element visible at the given point, relative to the upper-left-most visible point in the document.
 /// </summary>
 /// <param name="x"></param>
 /// <param name="y"></param>
 /// <returns></returns>
 public GeckoElement ElementFromPoint(int x, int y)
 {
     return(Gecko.Interop.ExtensionMethods.Wrap(_domDocument.ElementFromPoint(x, y), GeckoElement.CreateDomElementWrapper));
 }
Beispiel #3
0
 /// <summary>
 /// Returns the element visible at the given point, relative to the upper-left-most visible point in the document.
 /// </summary>
 /// <param name="x"></param>
 /// <param name="y"></param>
 /// <returns></returns>
 public GeckoElement ElementFromPoint(int x, int y)
 {
     return(_domDocument.ElementFromPoint(x, y).Wrap(GeckoElement.CreateDomElementWrapper));
 }