Image.getImagePosition

void getImagePosition(out int x, out int y, atk.types.CoordType coordType)

Gets the position of the image in the form of a point specifying the images top-left corner.

If the position can not be obtained (e.g. missing support), x and y are set to -1.

Parameters

xaddress of #gint to put x coordinate position; otherwise, -1 if value cannot be obtained.
yaddress of #gint to put y coordinate position; otherwise, -1 if value cannot be obtained.
coordTypespecifies whether the coordinates are relative to the screen or to the components top level window