GetChildAtPoint

« nsIAccessible Page

Summary

This method returns an accessible child which contains the coordinate at (x, y) in screen pixels.

 nsIAccessible getChildAtPoint(
   in long aX, 
   in long aY
 );

Parameters

aX
[in] Accessible's X-coordinate.
aY
[out] Accessible's Y-coordinate.

Return value

Returns an accessible child at given (x, y) coordinate.

Remarks

If the point is in the current accessible but not in a child, the current accessible will be returned. If the point is in neither the current accessible or a child, then NULL will be returned.

Document Tags and Contributors

 Contributors to this page: teoli, Surkov.alexander
 Last updated by: teoli,