Insets2DDouble layoutInsets = LAYOUT_INSETS.get(compositeFigure);
Insets2D.Double layoutInsets = LAYOUT_INSETS.get(compositeFigure);
    public Rectangle2D.Double layout(CompositeFigure compositeFigure, Point2D.Double anchor, Point2D.Double lead) {        Insets2DDouble layoutInsets = LAYOUT_INSETS.get(compositeFigure);                Rectangle2D.Double layoutBounds = calculateLayout(compositeFigure, anchor, lead);        double x = layoutBounds.x + layoutInsets.left;        for (Figure child : compositeFigure.getChildren()) {            if (child.isVisible()) {                Insets2DDouble insets = getInsets(child);                double width = child.getPreferredSize().width;                child.basicSetBounds(                new Point2D.Double(                x + insets.left,                layoutBounds.y + layoutInsets.top + insets.top                ),                new Point2D.Double(                x + insets.left + width,                layoutBounds.y + layoutBounds.height - layoutInsets.bottom - insets.bottom                )                );                x += width + insets.left + insets.right;                }        }                return layoutBounds;    }