public class TextWatermarkTemplateInput extends AbstractModel
| 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 Npx format where N is a numeric value. | 
| String | getFontType()Get Font type. | 
| 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 Npx format where N is a numeric value. | 
| void | setFontType(String FontType)Set Font type. | 
| 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, 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 Npx format where N is a numeric value.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]
Copyright © 2021. All rights reserved.