TextIF.getOffsetAtPoint

Gets the offset of the character located at coordinates @x and @y. @x and @y are interpreted as being relative to the screen or this widget's window depending on @coords.

interface TextIF
int
getOffsetAtPoint

Parameters

x int

screen x-position of character

y int

screen y-position of character

coords AtkCoordType

specify whether coordinates are relative to the screen or widget window

Return Value

Type: int

the offset to the character which is located at the specified @x and @y coordinates.

Meta