public void setUserSpaceRectangle(Rectangle2D.Float rect) {
        if (userSpaceRectangle != null) {
            userSpaceRectangle = new Rectangle2D.Float(rect.x, rect.y,
                    rect.width, rect.height);
            getEntries().put(Annotation.RECTANGLE_KEY,
                    PRectangle.getPRectangleVector(userSpaceRectangle));
        }
    }