dd.getParameters()
.setLineType( LineType.valueOf(lty, i % lty.length()) )
.setLineWidth( lwd.getElementAsDouble( i % lwd.length() ));
dd.drawRectangle(new Rectangle(
xleft.getElementAsDouble(i % xleft.length()),
xright.getElementAsDouble(i % xright.length()),
ybottom.getElementAsDouble(i % ybottom.length()),
ytop.getElementAsDouble(i % ytop.length())),
fillColor, borderColor);