@Test public void testScrop(){ final String result = QImage.createMogr(HOST) .crop(300, 400) .scrop() .toUrl(); final String r = HOST + "?imageMogr2/scrop/300x400"; assertEquals(r, result); }
public QImageMogr2UrlBuilder scrop(){ this.scrop = true; return this; }
QImageMogr2UrlBuilder { public QImageMogr2UrlBuilder scrop(){ this.scrop = true; return this; } }
QImageMogr2UrlBuilder { public QImageMogr2UrlBuilder scrop(){ this.scrop = true; return this; } QImageMogr2UrlBuilder(String host); }
QImageMogr2UrlBuilder { public QImageMogr2UrlBuilder scrop(){ this.scrop = true; return this; } QImageMogr2UrlBuilder(String host); String getHost(); QImageMogr2UrlBuilder autoOrient(); QImageMogr2UrlBuilder strip(); QImageMogr2UrlBuilder scrop(); QImageMogr2UrlBuilder interlace(); QImageMogr2UrlBuilder gravity(QImage.GravityType gravityType); QImageMogr2UrlBuilder format(QImage.ImageFormat format); QImageMogr2UrlBuilder quality(int amount, boolean over); QImageMogr2UrlBuilder quality(int amount); QImageMogr2UrlBuilder rotate(int rotate); QImageMogr2UrlBuilder frameNumber(int frameNumber); QImageMogr2UrlBuilder cropWidth(int width); QImageMogr2UrlBuilder cropHeight(int height); QImageMogr2UrlBuilder crop(int width, int height); QImageMogr2UrlBuilder offsetX(int dx); QImageMogr2UrlBuilder offsetY(int dy); QImageMogr2UrlBuilder offset(int dx, int dy); QImageMogr2UrlBuilder thumbnail(int width, int height); QImageMogr2UrlBuilder thumbnailScaleeWidth(int width); QImageMogr2UrlBuilder thumbnailScaleeHeight(int height); QImageMogr2UrlBuilder thumbnailWidthe(int width); QImageMogr2UrlBuilder thumbnailHeighte(int height); QImageMogr2UrlBuilder thumbnailEdgeeMax(int width, int height); QImageMogr2UrlBuilder thumbnailEdgeeMin(int width, int height); String toUrl(); }
QImageMogr2UrlBuilder { public QImageMogr2UrlBuilder scrop(){ this.scrop = true; return this; } QImageMogr2UrlBuilder(String host); String getHost(); QImageMogr2UrlBuilder autoOrient(); QImageMogr2UrlBuilder strip(); QImageMogr2UrlBuilder scrop(); QImageMogr2UrlBuilder interlace(); QImageMogr2UrlBuilder gravity(QImage.GravityType gravityType); QImageMogr2UrlBuilder format(QImage.ImageFormat format); QImageMogr2UrlBuilder quality(int amount, boolean over); QImageMogr2UrlBuilder quality(int amount); QImageMogr2UrlBuilder rotate(int rotate); QImageMogr2UrlBuilder frameNumber(int frameNumber); QImageMogr2UrlBuilder cropWidth(int width); QImageMogr2UrlBuilder cropHeight(int height); QImageMogr2UrlBuilder crop(int width, int height); QImageMogr2UrlBuilder offsetX(int dx); QImageMogr2UrlBuilder offsetY(int dy); QImageMogr2UrlBuilder offset(int dx, int dy); QImageMogr2UrlBuilder thumbnail(int width, int height); QImageMogr2UrlBuilder thumbnailScaleeWidth(int width); QImageMogr2UrlBuilder thumbnailScaleeHeight(int height); QImageMogr2UrlBuilder thumbnailWidthe(int width); QImageMogr2UrlBuilder thumbnailHeighte(int height); QImageMogr2UrlBuilder thumbnailEdgeeMax(int width, int height); QImageMogr2UrlBuilder thumbnailEdgeeMin(int width, int height); String toUrl();  }