atkImageGetImagePosition: atkImageGetImagePosition
Description
Gets the position of the image in the form of a point specifying the
images top-left corner. The values of x
and y
are returned as -1
if the values cannot be obtained.Usage
atkImageGetImagePosition(object, coord.type)
Arguments
coord.type
[AtkCoordType
] specifies whether the coordinates are relative to the screen
or to the components top level window Value
- A list containing the following elements:
x
[integer] integer
to put x coordinate positiony
[integer] integer
to put y coordinate position