Rectangle brushRedraw = currentBrush.getBounds();   cursorHighlight.setOffset(0,0);   cursorHighlight.resize(brushRedraw.width, brushRedraw.height,0,0); cursorHighlight.selectRegion(currentBrush.getShape());
    public void setBrush(AbstractBrush b) {        currentBrush = b;    }