Border margin = box.getMarginWidth();
Border margin = box.getStyle().getMarginWidth();
    public static boolean canBeSkipped(Context c, Box box) {        Shape clip = c.getGraphics().getClip();        if (!box.isChildrenExceedBounds() &&                Configuration.isTrue("xr.renderer.viewport-repaint", false) &&                box.getState() != Box.CHILDREN_FLUX && clip != null &&                !(box instanceof AnonymousBlockBox)) {            Border margin = box.getMarginWidth();            Rectangle bounds = new Rectangle(box.x + margin.left,                    box.y + margin.top,                    box.getWidth() - margin.left - margin.right,                    box.height - margin.top - margin.bottom);            return !clip.intersects(bounds);        }        return false;    }