if (logger.isDebugEnabled()) { logger.debug("getCenter pt=" + pt); }
    public Point getCenter ()    {        Point pt = null;        if (rect != null) {            pt = new Point(rect.x + (rect.width / 2),                           rect.y + (rect.height / 2));        }        if (logger.isDebugEnabled()) {            logger.debug("getCenter pt=" + pt);        }        return pt;    }