Function Control.getGlobalRect

Returns the position and size of the control relative to the top-left corner of the screen. See rectPosition and rectSize.

Rect2 getGlobalRect() nothrow @nogc const;