Optional topTop position in pixels. Default: 0.
Optional leftLeft position in pixels. Default: 0.
Optional hHorizontal alignment within the container. 'constraint' opts into aligning against
a sibling instead - see the *To*Of fields below.
Optional vVertical alignment within the container. 'constraint' opts into aligning against a
sibling instead - see the *To*Of fields below.
Optional hHorizontal pixel offset (added after alignment). Default: 0.
Optional vVertical pixel offset (added after alignment). Default: 0.
Optional leftOnly read when hAlign is 'constraint'. Exactly one of the nine *To*Of fields
below should be set; its value is either a sibling layer's id (a layer already added
to the same container - the Dmd, or the same parent LayerGroup) or the literal
'parent' for the container itself. If the referenced id doesn't exist, falls back
to 'parent' and logs a console warning.
My left edge aligns to the target's left edge.
Optional leftMy left edge aligns to the target's right edge.
Optional leftMy left edge aligns to the target's horizontal center.
Optional rightMy right edge aligns to the target's left edge.
Optional rightMy right edge aligns to the target's right edge.
Optional rightMy right edge aligns to the target's horizontal center.
Optional hMy horizontal center aligns to the target's left edge.
Optional hMy horizontal center aligns to the target's horizontal center.
Optional hMy horizontal center aligns to the target's right edge.
Optional topOnly read when vAlign is 'constraint'. Exactly one of the nine *To*Of fields
below should be set; same target semantics as the horizontal fields above.
My top edge aligns to the target's top edge.
Optional topMy top edge aligns to the target's bottom edge.
Optional topMy top edge aligns to the target's vertical center.
Optional bottomMy bottom edge aligns to the target's top edge.
Optional bottomMy bottom edge aligns to the target's bottom edge.
Optional bottomMy bottom edge aligns to the target's vertical center.
Optional vMy vertical center aligns to the target's top edge.
Optional vMy vertical center aligns to the target's vertical center.
Optional vMy vertical center aligns to the target's bottom edge.
Positioning of a layer within its container (the Dmd, or a parent LayerGroup).