public final class Request extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
Request.Builder
Builder for creating
Request instances. |
| Modifier and Type | Field and Description |
|---|---|
boolean |
centerCrop
True if the final image should use the 'centerCrop' scale technique.
|
boolean |
centerInside
True if the final image should use the 'centerInside' scale technique.
|
android.graphics.Bitmap.Config |
config
Target image config for decoding.
|
boolean |
hasRotationPivot
Whether or not
rotationPivotX and rotationPivotY are set. |
boolean |
onlyScaleDown |
Picasso.Priority |
priority
The priority of this request.
|
int |
resourceId
The image resource ID.
|
float |
rotationDegrees
Amount to rotate the image in degrees.
|
float |
rotationPivotX
Rotation pivot on the X axis.
|
float |
rotationPivotY
Rotation pivot on the Y axis.
|
String |
stableKey
Optional stable key for this request to be used instead of the URI or resource ID when
caching.
|
int |
targetHeight
Target image height for resizing.
|
int |
targetWidth
Target image width for resizing.
|
List<Transformation> |
transformations
List of custom transformations to be applied after the built-in transformations.
|
android.net.Uri |
uri
The image URI.
|
public final android.net.Uri uri
This is mutually exclusive with resourceId.
public final int resourceId
This is mutually exclusive with uri.
public final String stableKey
public final List<Transformation> transformations
public final int targetWidth
public final int targetHeight
public final boolean centerCrop
This is mutually exclusive with centerInside.
public final boolean centerInside
This is mutually exclusive with centerCrop.
public final boolean onlyScaleDown
public final float rotationDegrees
public final float rotationPivotX
public final float rotationPivotY
public final boolean hasRotationPivot
rotationPivotX and rotationPivotY are set.public final android.graphics.Bitmap.Config config
public final Picasso.Priority priority
public boolean hasSize()
public Request.Builder buildUpon()
Copyright © 2013–2016 Square, Inc.. All rights reserved.