sclass RegionFillPainter > RegionPainter { void drawRegion { Area area = regionToArea(regions, iRegion); g.setColor(withOpacity(.5, Color.green)); g.scale(zoomX, zoomY); fillShape(g, area); } }