public CdnPathBuilder scaleCrop(int width, int height) {
    """
	Scales the image until one of the dimensions fits,
	then crops the bottom or right side.
	
	@param width New width
	@param height New height
    """
        dimensionsGuard(width, height);
        sb.append("/-/scale_crop/")
                .append(width)
                .append("x")
                .append(height);
        return this;
    }
public CdnPathBuilder scaleCrop(int width, int height) {
        dimensionsGuard(width, height);
        sb.append("/-/scale_crop/")
                .append(width)
                .append("x")
                .append(height);
        return this;
    }
public CdnPathBuilder scaleCrop ( int width , int height ) { dimensionsGuard ( width , height ) ; sb . append ( "/-/scale_crop/" ) . append ( width ) . append ( "x" ) . append ( height ) ; return this ; }
Scales the image until one of the dimensions fits,
then crops the bottom or right side.

@param width New width
@param height New height
Scales the image until one of the dimensions fits then crops the bottom or right side .