public static void setAlignment (Node child, Pos value)

Sets the alignment for the child when contained by a stackpane. If set, will override the stackpane's default alignment. Setting the value to null will remove the constraint.

Parameters:
child    the child node of a stackpane
value    the alignment position for the child