src/main/java/com/uploadcare/urls/CdnPathBuilder.java
public CdnPathBuilder scaleCropCenter(int width, int height) {
        dimensionsGuard(width, height);
        sb.append("/-/scale_crop/")
                .append(width)
                .append("x")
                .append(height)
                .append("/center");
        return this;
    }
public CdnPathBuilder scaleCropCenter(int width, int height) {
        dimensionsGuard(width, height);
        sb.append("/-/scale_crop/")
                .append(width)
                .append("x")
                .append(height)
                .append("/center");
        return this;
    }
public CdnPathBuilder scaleCropCenter ( int width , int height ) { dimensionsGuard ( width , height ) ; sb . append ( "/-/scale_crop/" ) . append ( width ) . append ( "x" ) . append ( height ) . append ( "/center" ) ; return this ; }
Scales the image until one of the dimensions fits,
centers it, then crops the rest.

@param width New width
@param height New height
Scales the image until one of the dimensions fits centers it then crops the rest .