public class TextWatermarkTemplateInputForUpdate extends AbstractModel
header, skipSign| Constructor and 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. | 
| Modifier and Type | Method and 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. | 
any, fromJsonString, getBinaryParams, GetHeader, getMultipartRequestParams, getSkipSign, isStream, set, SetHeader, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, setSkipSign, toJsonStringpublic TextWatermarkTemplateInputForUpdate()
public TextWatermarkTemplateInputForUpdate(TextWatermarkTemplateInputForUpdate source)
public String getFontType()
public void setFontType(String FontType)
FontType - 字体类型,目前可以支持两种:
public String getFontSize()
public void setFontSize(String FontSize)
FontSize - 字体大小,格式:Npx,N 为数值。public String getFontColor()
public void setFontColor(String FontColor)
FontColor - 字体颜色,格式:0xRRGGBB,默认值:0xFFFFFF(白色)。public Float getFontAlpha()
public void setFontAlpha(Float FontAlpha)
FontAlpha - 文字透明度,取值范围:(0, 1]
Copyright © 2025. All rights reserved.