public class ImageOperation extends AbstractModel
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 图片模糊处理,仅当 Type 为 Blur 时有效。
|
ImageCenterCut |
getCenterCut()
Get 图片裁剪处理,仅当 Type 为 CenterCut 时有效。
|
ImageScale |
getScale()
Get 图片缩略处理,仅当 Type 为 Scale 时有效。
|
String |
getType()
Get 图片处理类型。可选类型有:
Scale : 图片缩略处理;
CenterCut : 图片裁剪处理;
Blur : 图片模糊处理。
|
void |
setBlur(ImageBlur Blur)
Set 图片模糊处理,仅当 Type 为 Blur 时有效。
|
void |
setCenterCut(ImageCenterCut CenterCut)
Set 图片裁剪处理,仅当 Type 为 CenterCut 时有效。
|
void |
setScale(ImageScale Scale)
Set 图片缩略处理,仅当 Type 为 Scale 时有效。
|
void |
setType(String Type)
Set 图片处理类型。可选类型有:
Scale : 图片缩略处理;
CenterCut : 图片裁剪处理;
Blur : 图片模糊处理。
|
void |
toMap(HashMap<String,String> map,
String prefix)
Internal implementation, normal users should not use it.
|
any, fromJsonString, getBinaryParams, getMultipartRequestParams, getSkipSign, set, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, setSkipSign, toJsonStringpublic ImageOperation()
public ImageOperation(ImageOperation source)
public String getType()
public void setType(String Type)
Type - 图片处理类型。可选类型有:
public ImageScale getScale()
public void setScale(ImageScale Scale)
Scale - 图片缩略处理,仅当 Type 为 Scale 时有效。public ImageCenterCut getCenterCut()
public void setCenterCut(ImageCenterCut CenterCut)
CenterCut - 图片裁剪处理,仅当 Type 为 CenterCut 时有效。public ImageBlur getBlur()
public void setBlur(ImageBlur Blur)
Blur - 图片模糊处理,仅当 Type 为 Blur 时有效。Copyright © 2023. All rights reserved.