result.calcCanvasLocation();
    private static LineBox newLine(LayoutContext c, LineBox previousLine, Box box) {        LineBox result = new LineBox();        result.createDefaultStyle(c);        result.setParent(box);        result.initContainingLayer(c);        if (previousLine != null) {            result.y = previousLine.y + previousLine.getHeight();        }        return result;    }