public class TextWatermarkTemplateInput extends AbstractModel
Constructor and Description |
---|
TextWatermarkTemplateInput() |
Modifier and Type | Method and Description |
---|---|
Float |
getFontAlpha()
Get 文字透明度,取值范围:(0, 1]
0:完全透明
1:完全不透明
默认值: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:完全不透明
默认值: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, getMultipartRequestParams, set, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, toJsonString
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 © 2020. All rights reserved.