UIElement.position

Get widget position in the window (absolute).

You can query this in .reflow() to position children of this widget.

  1. box2i position()
    class UIElement
    nothrow @nogc final
    box2i
    position
    ()
  2. void position(box2i p)
  3. void position(box2f p)

Meta