UIElement.position

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

Return Value

Type: box2i

Position of the element, that will be used for rendering. This getter is typically used in reflow() to adapt resource and children to the new position.

Meta