Modifier and Type | Method and Description |
---|---|
Request.Builder |
Request.buildUpon() |
Request.Builder |
Request.Builder.centerCrop()
Crops an image inside of the bounds specified by
resize(int, int) rather than
distorting the aspect ratio. |
Request.Builder |
Request.Builder.centerInside()
Centers an image inside of the bounds specified by
resize(int, int) . |
Request.Builder |
Request.Builder.clearCenterCrop()
Clear the center crop transformation flag, if set.
|
Request.Builder |
Request.Builder.clearCenterInside()
Clear the center inside transformation flag, if set.
|
Request.Builder |
Request.Builder.clearOnlyScaleDown()
Clear the onlyScaleUp flag, if set.
|
Request.Builder |
Request.Builder.clearResize()
Clear the resize transformation, if any.
|
Request.Builder |
Request.Builder.clearRotation()
Clear the rotation transformation, if any.
|
Request.Builder |
Request.Builder.config(android.graphics.Bitmap.Config config)
Decode the image using the specified config.
|
Request.Builder |
Request.Builder.onlyScaleDown()
Only resize an image if the original image size is bigger than the target size
specified by
resize(int, int) . |
Request.Builder |
Request.Builder.priority(Picasso.Priority priority)
Execute request using the specified priority.
|
Request.Builder |
Request.Builder.resize(int targetWidth,
int targetHeight)
Resize the image to the specified size in pixels.
|
Request.Builder |
Request.Builder.rotate(float degrees)
Rotate the image by the specified degrees.
|
Request.Builder |
Request.Builder.rotate(float degrees,
float pivotX,
float pivotY)
Rotate the image by the specified degrees around a pivot point.
|
Request.Builder |
Request.Builder.setResourceId(int resourceId)
Set the target image resource ID.
|
Request.Builder |
Request.Builder.setUri(android.net.Uri uri)
Set the target image Uri.
|
Request.Builder |
Request.Builder.stableKey(String stableKey)
Set the stable key to be used instead of the URI or resource ID when caching.
|
Request.Builder |
Request.Builder.transform(List<? extends Transformation> transformations)
Add a list of custom transformations to be applied to the image.
|
Request.Builder |
Request.Builder.transform(Transformation transformation)
Add a custom transformation to be applied to the image.
|
Copyright © 2013-2015 Square, Inc.. All Rights Reserved.