Class TextWatermarkTemplateInputForUpdate
- java.lang.Object
-
- com.tencentcloudapi.common.AbstractModel
-
- com.tencentcloudapi.mps.v20190612.models.TextWatermarkTemplateInputForUpdate
-
public class TextWatermarkTemplateInputForUpdate extends AbstractModel
-
-
Field Summary
-
Fields inherited from class com.tencentcloudapi.common.AbstractModel
header, skipSign
-
-
Constructor Summary
Constructors Constructor Description TextWatermarkTemplateInputForUpdate()
TextWatermarkTemplateInputForUpdate(TextWatermarkTemplateInputForUpdate 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 Float
getFontAlpha()
Get 文字透明度,取值范围:(0, 1] 0:完全透明 1:完全不透明String
getFontColor()
Get 字体颜色,格式:0xRRGGBB,默认值:0xFFFFFF(白色)。String
getFontSize()
Get 字体大小,格式:Npx,N 为数值。String
getFontType()
Get 字体类型,目前可以支持两种: simkai.ttf:可以支持中文和英文; arial.ttf:仅支持英文。void
setFontAlpha(Float FontAlpha)
Set 文字透明度,取值范围:(0, 1] 0:完全透明 1:完全不透明void
setFontColor(String FontColor)
Set 字体颜色,格式:0xRRGGBB,默认值:0xFFFFFF(白色)。void
setFontSize(String FontSize)
Set 字体大小,格式:Npx,N 为数值。void
setFontType(String FontType)
Set 字体类型,目前可以支持两种: simkai.ttf:可以支持中文和英文; arial.ttf:仅支持英文。void
toMap(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
-
TextWatermarkTemplateInputForUpdate
public TextWatermarkTemplateInputForUpdate()
-
TextWatermarkTemplateInputForUpdate
public TextWatermarkTemplateInputForUpdate(TextWatermarkTemplateInputForUpdate 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
-
getFontType
public String getFontType()
Get 字体类型,目前可以支持两种:- simkai.ttf:可以支持中文和英文;
- arial.ttf:仅支持英文。
- Returns:
- FontType 字体类型,目前可以支持两种:
- simkai.ttf:可以支持中文和英文;
- arial.ttf:仅支持英文。
-
setFontType
public void setFontType(String FontType)
Set 字体类型,目前可以支持两种:- simkai.ttf:可以支持中文和英文;
- arial.ttf:仅支持英文。
- Parameters:
FontType
- 字体类型,目前可以支持两种:- simkai.ttf:可以支持中文和英文;
- arial.ttf:仅支持英文。
-
getFontSize
public String getFontSize()
Get 字体大小,格式:Npx,N 为数值。- Returns:
- FontSize 字体大小,格式:Npx,N 为数值。
-
setFontSize
public void setFontSize(String FontSize)
Set 字体大小,格式:Npx,N 为数值。- Parameters:
FontSize
- 字体大小,格式:Npx,N 为数值。
-
getFontColor
public String getFontColor()
Get 字体颜色,格式:0xRRGGBB,默认值:0xFFFFFF(白色)。- Returns:
- FontColor 字体颜色,格式:0xRRGGBB,默认值:0xFFFFFF(白色)。
-
setFontColor
public void setFontColor(String FontColor)
Set 字体颜色,格式:0xRRGGBB,默认值:0xFFFFFF(白色)。- Parameters:
FontColor
- 字体颜色,格式:0xRRGGBB,默认值:0xFFFFFF(白色)。
-
getFontAlpha
public Float getFontAlpha()
Get 文字透明度,取值范围:(0, 1]- 0:完全透明
- 1:完全不透明
- Returns:
- FontAlpha 文字透明度,取值范围:(0, 1]
- 0:完全透明
- 1:完全不透明
-
setFontAlpha
public void setFontAlpha(Float FontAlpha)
Set 文字透明度,取值范围:(0, 1]- 0:完全透明
- 1:完全不透明
- Parameters:
FontAlpha
- 文字透明度,取值范围:(0, 1]- 0:完全透明
- 1:完全不透明
-
-