center = new Point2D.Double(x + w / 2.0, y + h / 2.0);
}
// get the center position in image coordinates
CoordinateConverter cc = _imageDisplay.getCoordinateConverter();
cc.userToImageCoords(center, false);
_imageX = center.x;
_imageY = center.y;
// get the center position in world coordinates
cc.imageToWorldCoords(center, false);