public final class Nodes extends Object
| Modifier and Type | Method and Description |
|---|---|
static void |
centerNode(javafx.scene.Node node,
Double marginSize)
Centers a node that is inside an enclosing
AnchorPane. |
public static void centerNode(javafx.scene.Node node,
Double marginSize)
AnchorPane.node - The node to centermarginSize - The margins to keep on the sidesCopyright © 2018. All rights reserved.