| Modifier and Type | Method and Description |
|---|---|
ThumborUrlBuilder |
ThumborUrlBuilder.align(ThumborUrlBuilder.HorizontalAlign align)
Set the horizontal alignment for the image when image gets cropped by resizing.
|
ThumborUrlBuilder |
ThumborUrlBuilder.align(ThumborUrlBuilder.VerticalAlign align)
Set the vertical alignment for the image when image gets cropped by resizing.
|
ThumborUrlBuilder |
ThumborUrlBuilder.align(ThumborUrlBuilder.VerticalAlign valign,
ThumborUrlBuilder.HorizontalAlign halign)
Set the horizontal and vertical alignment for the image when image gets cropped by resizing.
|
ThumborUrlBuilder |
Thumbor.buildImage(String image)
Begin building a url for this host with the specified image.
|
ThumborUrlBuilder |
ThumborUrlBuilder.crop(int top,
int left,
int bottom,
int right)
Crop the image between two points.
|
ThumborUrlBuilder |
ThumborUrlBuilder.filter(String... filters)
Add one or more filters to the image.
|
ThumborUrlBuilder |
ThumborUrlBuilder.fitIn()
Constrain the image size inside the resized box, scaling as needed.
|
ThumborUrlBuilder |
ThumborUrlBuilder.fitIn(ThumborUrlBuilder.FitInStyle fitInStyle)
Constrain the image size inside the resized box, scaling as needed.
|
ThumborUrlBuilder |
ThumborUrlBuilder.flipHorizontally()
Flip the image horizontally.
|
ThumborUrlBuilder |
ThumborUrlBuilder.flipVertically()
Flip the image vertically.
|
ThumborUrlBuilder |
ThumborUrlBuilder.legacy()
Use legacy encryption when constructing a safe URL.
|
ThumborUrlBuilder |
ThumborUrlBuilder.resize(int width,
int height)
Resize picture to desired size.
|
ThumborUrlBuilder |
ThumborUrlBuilder.smart()
Use smart cropping for determining the important portion of an image.
|
ThumborUrlBuilder |
ThumborUrlBuilder.trim()
Removing surrounding space in image.
|
ThumborUrlBuilder |
ThumborUrlBuilder.trim(ThumborUrlBuilder.TrimPixelColor value)
Removing surrounding space in image.
|
ThumborUrlBuilder |
ThumborUrlBuilder.trim(ThumborUrlBuilder.TrimPixelColor value,
int colorTolerance)
Removing surrounding space in image.
|
| Modifier and Type | Method and Description |
|---|---|
static String |
ThumborUrlBuilder.watermark(ThumborUrlBuilder image)
This filter adds a watermark to the image at (0, 0).
|
static String |
ThumborUrlBuilder.watermark(ThumborUrlBuilder image,
int x,
int y)
This filter adds a watermark to the image.
|
static String |
ThumborUrlBuilder.watermark(ThumborUrlBuilder image,
int x,
int y,
int transparency)
This filter adds a watermark to the image.
|
Copyright © 2012-2015 Square, Inc.. All Rights Reserved.