public class UpdateImageRequest extends Object
Modifier and Type | Field and Description |
---|---|
String |
folder
Folder with image to process.
|
String |
format
Resulting image format.
|
String |
name
Filename of an image.
|
Integer |
newHeight
New height of the scaled image.
|
Integer |
newWidth
New width of the scaled image.
|
Integer |
rectHeight
Height of cropping rectangle.
|
Integer |
rectWidth
Width of cropping rectangle.
|
String |
rotateFlipMethod
RotateFlip method (Rotate180FlipNone, Rotate180FlipX, Rotate180FlipXY, Rotate180FlipY, Rotate270FlipNone, Rotate270FlipX, Rotate270FlipXY, Rotate270FlipY, Rotate90FlipNone, Rotate90FlipX, Rotate90FlipXY, Rotate90FlipY, RotateNoneFlipNone, RotateNoneFlipX, RotateNoneFlipXY, RotateNoneFlipY).
|
String |
storage
Your Aspose Cloud Storage name.
|
Integer |
x
X position of start point for cropping rectangle.
|
Integer |
y
Y position of start point for cropping rectangle.
|
Constructor and Description |
---|
UpdateImageRequest(String name,
Integer newWidth,
Integer newHeight,
Integer x,
Integer y,
Integer rectWidth,
Integer rectHeight,
String rotateFlipMethod,
String format,
String folder,
String storage)
Initializes a new instance of the UpdateImageRequest class.
|
public String name
public Integer newWidth
public Integer newHeight
public Integer x
public Integer y
public Integer rectWidth
public Integer rectHeight
public String rotateFlipMethod
public String format
public String folder
public String storage
public UpdateImageRequest(String name, Integer newWidth, Integer newHeight, Integer x, Integer y, Integer rectWidth, Integer rectHeight, String rotateFlipMethod, String format, String folder, String storage)
name
- Filename of an image.newWidth
- New width of the scaled image.newHeight
- New height of the scaled image.x
- X position of start point for cropping rectangle.y
- Y position of start point for cropping rectangle.rectWidth
- Width of cropping rectangle.rectHeight
- Height of cropping rectangle.rotateFlipMethod
- RotateFlip method (Rotate180FlipNone, Rotate180FlipX, Rotate180FlipXY, Rotate180FlipY, Rotate270FlipNone, Rotate270FlipX, Rotate270FlipXY, Rotate270FlipY, Rotate90FlipNone, Rotate90FlipX, Rotate90FlipXY, Rotate90FlipY, RotateNoneFlipNone, RotateNoneFlipX, RotateNoneFlipXY, RotateNoneFlipY). Default is RotateNoneFlipNone.format
- Resulting image format. Please, refer to https://docs.aspose.cloud/display/imagingcloud/Supported+File+Formats#SupportedFileFormats-CommonOperationsFormatSupportMap for possible use-cases.folder
- Folder with image to process.storage
- Your Aspose Cloud Storage name.Copyright © 2020 Aspose Pty Ltd. All rights reserved.