Widget.bounds

Rect bounds() const nothrow @nogc

Gets the widget's bounds as a Rect.

Returns

Rectangle with position and size