public class ImageOperation extends AbstractModel
header, skipSign
Constructor and Description |
---|
ImageOperation() |
ImageOperation(ImageOperation source)
NOTE: Any ambiguous key set via .set("AnyKey", "value") will be a shallow copy,
and any explicit key, i.e Foo, set via .setFoo("value") will be a deep copy.
|
Modifier and Type | Method and Description |
---|---|
ImageBlur |
getBlur()
Get Image blurring.
|
ImageCenterCut |
getCenterCut()
Get The cropping details.
|
ImageScale |
getScale()
Get The scaling details.
|
String |
getType()
Get Image processing type.
|
void |
setBlur(ImageBlur Blur)
Set Image blurring.
|
void |
setCenterCut(ImageCenterCut CenterCut)
Set The cropping details.
|
void |
setScale(ImageScale Scale)
Set The scaling details.
|
void |
setType(String Type)
Set Image processing type.
|
void |
toMap(HashMap<String,String> map,
String prefix)
Internal implementation, normal users should not use it.
|
any, fromJsonString, getBinaryParams, GetHeader, getMultipartRequestParams, getSkipSign, set, SetHeader, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, setSkipSign, toJsonString
public ImageOperation()
public ImageOperation(ImageOperation source)
public String getType()
public void setType(String Type)
Type
- Image processing type. Optional types are:
public ImageScale getScale()
public void setScale(ImageScale Scale)
Scale
- The scaling details. This parameter is valid only if `Type` is `Scale`.public ImageCenterCut getCenterCut()
public void setCenterCut(ImageCenterCut CenterCut)
CenterCut
- The cropping details. This parameter is valid only if `Type` is `CenterCut`.public ImageBlur getBlur()
public void setBlur(ImageBlur Blur)
Blur
- Image blurring. This parameter is valid only if `Type` is `Blur`.Copyright © 2024. All rights reserved.