Class ComposeImageOperation
- java.lang.Object
-
- com.tencentcloudapi.common.AbstractModel
-
- com.tencentcloudapi.mps.v20190612.models.ComposeImageOperation
-
public class ComposeImageOperation extends AbstractModel
-
-
Field Summary
-
Fields inherited from class com.tencentcloudapi.common.AbstractModel
header, skipSign
-
-
Constructor Summary
Constructors Constructor Description ComposeImageOperation()ComposeImageOperation(ComposeImageOperation 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.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetFlipType()Get 当 Type = Flip 时有效。图像翻转动作,取值有: Horizental:水平翻转,即左右镜像。 Vertical:垂直翻转,即上下镜像。FloatgetRotateAngle()Get 当 Type = Rotate 时有效。图像以中心点为原点进行旋转的角度,取值范围0~360。StringgetType()Get 类型,取值有: Rotate:图像旋转。 Flip:图像翻转。voidsetFlipType(String FlipType)Set 当 Type = Flip 时有效。图像翻转动作,取值有: Horizental:水平翻转,即左右镜像。 Vertical:垂直翻转,即上下镜像。voidsetRotateAngle(Float RotateAngle)Set 当 Type = Rotate 时有效。图像以中心点为原点进行旋转的角度,取值范围0~360。voidsetType(String Type)Set 类型,取值有: Rotate:图像旋转。 Flip:图像翻转。voidtoMap(HashMap<String,String> map, String prefix)Internal implementation, normal users should not use it.-
Methods inherited from class com.tencentcloudapi.common.AbstractModel
any, fromJsonString, getBinaryParams, GetHeader, getMultipartRequestParams, getSkipSign, set, SetHeader, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, setSkipSign, toJsonString
-
-
-
-
Constructor Detail
-
ComposeImageOperation
public ComposeImageOperation()
-
ComposeImageOperation
public ComposeImageOperation(ComposeImageOperation 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.
-
-
Method Detail
-
getType
public String getType()
Get 类型,取值有:- Rotate:图像旋转。
- Flip:图像翻转。
- Returns:
- Type 类型,取值有:
- Rotate:图像旋转。
- Flip:图像翻转。
-
setType
public void setType(String Type)
Set 类型,取值有:- Rotate:图像旋转。
- Flip:图像翻转。
- Parameters:
Type- 类型,取值有:- Rotate:图像旋转。
- Flip:图像翻转。
-
getRotateAngle
public Float getRotateAngle()
Get 当 Type = Rotate 时有效。图像以中心点为原点进行旋转的角度,取值范围0~360。- Returns:
- RotateAngle 当 Type = Rotate 时有效。图像以中心点为原点进行旋转的角度,取值范围0~360。
-
setRotateAngle
public void setRotateAngle(Float RotateAngle)
Set 当 Type = Rotate 时有效。图像以中心点为原点进行旋转的角度,取值范围0~360。- Parameters:
RotateAngle- 当 Type = Rotate 时有效。图像以中心点为原点进行旋转的角度,取值范围0~360。
-
getFlipType
public String getFlipType()
Get 当 Type = Flip 时有效。图像翻转动作,取值有:- Horizental:水平翻转,即左右镜像。
- Vertical:垂直翻转,即上下镜像。
- Returns:
- FlipType 当 Type = Flip 时有效。图像翻转动作,取值有:
- Horizental:水平翻转,即左右镜像。
- Vertical:垂直翻转,即上下镜像。
-
setFlipType
public void setFlipType(String FlipType)
Set 当 Type = Flip 时有效。图像翻转动作,取值有:- Horizental:水平翻转,即左右镜像。
- Vertical:垂直翻转,即上下镜像。
- Parameters:
FlipType- 当 Type = Flip 时有效。图像翻转动作,取值有:- Horizental:水平翻转,即左右镜像。
- Vertical:垂直翻转,即上下镜像。
-
-