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