Context Menu Demo
Explanation
Drag the blue box to see how the red box will be aligned.
Options
Alignments
parentH
left
right
parentV
bottom
top
childH
left
right
childV
top
bottom
Box sizes
parentWidth
parentHeight
contextWidth
contextHeight
Containment
InvertH
InvertV
Contain into