ImageIF.getImagePosition

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.

interface ImageIF
void
getImagePosition
(
out int x
,
out int y
,)

Parameters

x int

address of #gint to put x coordinate position; otherwise, -1 if value cannot be obtained.

y int

address of #gint to put y coordinate position; otherwise, -1 if value cannot be obtained.

coordType AtkCoordType

specifies whether the coordinates are relative to the screen or to the components top level window

Meta