private Shape toShape(WPainterPath path) { return WRasterPaintDevice.createShape(path); }
@Override public Color getColor() { return WRasterPaintDevice.createColor(painter.getPen().getColor()); }
@Override public Stroke getStroke() { return WRasterPaintDevice.createStroke(painter, painter.getPen()); }