drawOps = new ArrayList();
fillOps = new ArrayList();
border = box.getBorder();
final ComputedLayoutProperties layoutProperties = box.getComputedLayoutProperties();
final StrictInsets bWidths = new StrictInsets
(layoutProperties.getBorderTop(), layoutProperties.getBorderLeft(),
layoutProperties.getBorderBottom(), layoutProperties.getBorderRight());
x = StrictGeomUtility.toExternalValue
(box.getX() + (bWidths.getLeft() / 2));
y = StrictGeomUtility.toExternalValue
(box.getY() + (bWidths.getTop() / 2));
width = StrictGeomUtility.toExternalValue
(box.getWidth() - (bWidths.getLeft() + bWidths.getRight()) / 2);
height = StrictGeomUtility.toExternalValue
(box.getHeight() - (bWidths.getTop() + bWidths.getBottom()) / 2);
borderSizes = bWidths;
// todo: Change this to the real background ..
backgroundColor = box.getBoxDefinition().getBackgroundColor();
}