Component.getPosition

Gets the position of component in the form of a point specifying component's top-left corner.

class Component
void
getPosition
(
out int x
,
out int y
,)

Parameters

x int

address of gint to put x coordinate position

y int

address of gint to put y coordinate position

coordType AtkCoordType

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

Meta