The bounding rectangle of the current viewport, in window coordinates.
The bounding rectangle of the anchor, in window coordinates.
The size of the widget that is inside the widget div, in window coordinates.
Whether the workspace is in RTL mode. This determines horizontal alignment.
Position the widget div based on an anchor rectangle. The widget should be placed adjacent to but not overlapping the anchor rectangle. The preferred position is directly below and aligned to the left (LTR) or right (RTL) side of the anchor.