public class TextWatermarkTemplateInputForUpdate extends AbstractModel
Constructor and Description |
---|
TextWatermarkTemplateInputForUpdate() |
Modifier and Type | Method and Description |
---|---|
Float |
getFontAlpha()
获取文字透明度,取值范围:(0, 1]
0:完全透明
1:完全不透明
|
String |
getFontColor()
获取字体颜色,格式:0xRRGGBB,默认值:0xFFFFFF(白色)。
|
String |
getFontSize()
获取字体大小,格式:Npx,N 为数值。
|
String |
getFontType()
获取字体类型,目前可以支持两种:
simkai.ttf:可以支持中文和英文;
arial.ttf:仅支持英文。
|
void |
setFontAlpha(Float FontAlpha)
设置文字透明度,取值范围:(0, 1]
0:完全透明
1:完全不透明
|
void |
setFontColor(String FontColor)
设置字体颜色,格式:0xRRGGBB,默认值:0xFFFFFF(白色)。
|
void |
setFontSize(String FontSize)
设置字体大小,格式:Npx,N 为数值。
|
void |
setFontType(String FontType)
设置字体类型,目前可以支持两种:
simkai.ttf:可以支持中文和英文;
arial.ttf:仅支持英文。
|
void |
toMap(HashMap<String,String> map,
String prefix)
内部实现,用户禁止调用
|
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 © 2019. All rights reserved.