private CmsPoint getCropCenter() {

        CmsCroppingParamBean crop = m_croppingProvider.get();
        CmsImageInfoBean info = m_imageInfoProvider.get();
        if ((crop == null) || !crop.isCropped()) {
            return new CmsPoint(info.getWidth() / 2, info.getHeight() / 2);
        } else {
            return new CmsPoint(
                crop.getCropX() + (crop.getCropWidth() / 2),
                crop.getCropY() + (crop.getCropHeight() / 2));
        }
    }
private CmsPoint getCropCenter ( ) { CmsCroppingParamBean crop = m_croppingProvider . get ( ) ; CmsImageInfoBean info = m_imageInfoProvider . get ( ) ; if ( ( crop == null ) || ! crop . isCropped ( ) ) { return new CmsPoint ( info . getWidth ( ) / 2 , info . getHeight ( ) / 2 ) ; } else { return new CmsPoint ( crop . getCropX ( ) + ( crop . getCropWidth ( ) / 2 ) , crop . getCropY ( ) + ( crop . getCropHeight ( ) / 2 ) ) ; } }
Gets the point which is the center of the crop region, or the center of the original image if it isn't cropped, in the image's coordinate system.<p>

@return the center point of the crop region