public class ImageTransform extends AbstractModel
Constructor and Description |
---|
ImageTransform() |
ImageTransform(ImageTransform 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 |
---|---|
String |
getFlip()
Get 图像翻转动作,取值有:
Horizental:水平翻转,即左右镜像。
Vertical:垂直翻转,即上下镜像。
当 Type = Flip 时有效。
|
Float |
getRotateAngle()
Get 图像以中心点为原点进行旋转的角度,取值范围0~360。当 Type = Rotate 时有效。
|
String |
getType()
Get 类型,取值有:
Rotate:图像旋转。
Flip:图像翻转。
|
void |
setFlip(String Flip)
Set 图像翻转动作,取值有:
Horizental:水平翻转,即左右镜像。
Vertical:垂直翻转,即上下镜像。
当 Type = Flip 时有效。
|
void |
setRotateAngle(Float RotateAngle)
Set 图像以中心点为原点进行旋转的角度,取值范围0~360。当 Type = Rotate 时有效。
|
void |
setType(String Type)
Set 类型,取值有:
Rotate:图像旋转。
Flip:图像翻转。
|
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 ImageTransform()
public ImageTransform(ImageTransform source)
public String getType()
public void setType(String Type)
Type
- 类型,取值有:
public Float getRotateAngle()
public void setRotateAngle(Float RotateAngle)
RotateAngle
- 图像以中心点为原点进行旋转的角度,取值范围0~360。当 Type = Rotate 时有效。public String getFlip()
public void setFlip(String Flip)
Flip
- 图像翻转动作,取值有:
Copyright © 2023. All rights reserved.