public class TextWatermarkTemplateInput extends AbstractModel
header, skipSign| Constructor and Description | 
|---|
| TextWatermarkTemplateInput() | 
| TextWatermarkTemplateInput(TextWatermarkTemplateInput 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 Text transparency. | 
| String | getFontColor()Get Font color in 0xRRGGBB format. | 
| String | getFontSize()Get Font size, in the format of Npx. | 
| String | getFontType()Get Font type. | 
| String | getTextContent()Get Text content, up to 100 characters. | 
| void | setFontAlpha(Float FontAlpha)Set Text transparency. | 
| void | setFontColor(String FontColor)Set Font color in 0xRRGGBB format. | 
| void | setFontSize(String FontSize)Set Font size, in the format of Npx. | 
| void | setFontType(String FontType)Set Font type. | 
| void | setTextContent(String TextContent)Set Text content, up to 100 characters. | 
| void | toMap(HashMap<String,String> map,
     String prefix)Internal implementation, normal users should not use it. | 
any, fromJsonString, getBinaryParams, GetHeader, getMultipartRequestParams, getSkipSign, set, SetHeader, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, setSkipSign, toJsonStringpublic TextWatermarkTemplateInput()
public TextWatermarkTemplateInput(TextWatermarkTemplateInput source)
public String getFontType()
public void setFontType(String FontType)
FontType - Font type. Currently, two types are supported:
public String getFontSize()
public void setFontSize(String FontSize)
FontSize - Font size, in the format of Npx. N is a numerical value with a value range of [0, 1] or [8, 4096].public String getFontColor()
public void setFontColor(String FontColor)
FontColor - Font color in 0xRRGGBB format. Default value: 0xFFFFFF (white).public Float getFontAlpha()
public void setFontAlpha(Float FontAlpha)
FontAlpha - Text transparency. Value range: (0, 1]
public String getTextContent()
public void setTextContent(String TextContent)
TextContent - Text content, up to 100 characters.
Note: This field may return null, indicating that no valid values can be obtained.Copyright © 2025. All rights reserved.