public class TextMarkInfoItem extends AbstractModel
Constructor and Description |
---|
TextMarkInfoItem() |
TextMarkInfoItem(TextMarkInfoItem 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:全透明。默认为0
|
String |
getFontColor()
Get 字体颜色,颜色见附录,不填默认black。
|
String |
getFontFile()
Get 字体,可选项:hei,song,simkai,arial;默认hei(黑体)。
|
Long |
getFontSize()
Get 文字大小
|
Long |
getPosX()
Get 文字水印X坐标。
|
Long |
getPosY()
Get 文字水印Y坐标。
|
String |
getText()
Get 文字内容。
|
void |
setFontAlpha(Float FontAlpha)
Set 文字透明度,可选值0-1。0:不透明,1:全透明。默认为0
|
void |
setFontColor(String FontColor)
Set 字体颜色,颜色见附录,不填默认black。
|
void |
setFontFile(String FontFile)
Set 字体,可选项:hei,song,simkai,arial;默认hei(黑体)。
|
void |
setFontSize(Long FontSize)
Set 文字大小
|
void |
setPosX(Long PosX)
Set 文字水印X坐标。
|
void |
setPosY(Long PosY)
Set 文字水印Y坐标。
|
void |
setText(String Text)
Set 文字内容。
|
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 TextMarkInfoItem()
public TextMarkInfoItem(TextMarkInfoItem source)
public String getText()
public void setText(String Text)
Text
- 文字内容。public Long getPosX()
public void setPosX(Long PosX)
PosX
- 文字水印X坐标。public Long getPosY()
public void setPosY(Long PosY)
PosY
- 文字水印Y坐标。public Long getFontSize()
public void setFontSize(Long FontSize)
FontSize
- 文字大小public String getFontFile()
public void setFontFile(String FontFile)
FontFile
- 字体,可选项:hei,song,simkai,arial;默认hei(黑体)。public String getFontColor()
public void setFontColor(String FontColor)
FontColor
- 字体颜色,颜色见附录,不填默认black。public Float getFontAlpha()
public void setFontAlpha(Float FontAlpha)
FontAlpha
- 文字透明度,可选值0-1。0:不透明,1:全透明。默认为0Copyright © 2023. All rights reserved.