protected void processOtherNode(final RenderNode node) { if (isValidDrawTarget(node)) { if (bounds == null) { bounds = new StrictBounds(node.getX(), node.getY(), node.getWidth(), node.getHeight()); } else { bounds.add(node.getX(), node.getY(), node.getWidth(), node.getHeight()); } } }
protected boolean startBox(final RenderBox box) { if (isValidDrawTarget(box)) { if (bounds == null) { bounds = new StrictBounds(box.getX(), box.getY(), box.getWidth(), box.getHeight()); } else { bounds.add(box.getX(), box.getY(), box.getWidth(), box.getHeight()); } } return true; }