UnitProcessor.Context uctx*/) {
Value v = getComputedStyle(e, SVGCSSEngine.ENABLE_BACKGROUND_INDEX);
if (v.getCssValueType() != CSSValue.CSS_VALUE_LIST) {
return null; // accumulate
}
ListValue lv = (ListValue)v;
int length = lv.getLength();
switch (length) {
case 1:
return CompositeGraphicsNode.VIEWPORT; // new
case 5: // new <x>,<y>,<width>,<height>
float x = lv.item(1).getFloatValue();
float y = lv.item(2).getFloatValue();
float w = lv.item(3).getFloatValue();
float h = lv.item(4).getFloatValue();
return new Rectangle2D.Float(x, y, w, h);
default:
throw new InternalError(); // Cannot happen
}