borderPainter.paint(borderPaintInfo);
}
/** {@inheritDoc} */
public void fillRect(float x, float y, float width, float height) {
RectanglePaintingInfo rectanglePaintInfo = new RectanglePaintingInfo(x, y, width, height);
try {
rectanglePainter.paint(rectanglePaintInfo);
} catch (IOException ioe) {
//TODO not ideal, but the AFPRenderer is legacy
throw new RuntimeException("I/O error while painting a filled rectangle", ioe);