public class WaterMarkTimestamp extends AbstractModel
header, skipSign
Constructor and Description |
---|
WaterMarkTimestamp() |
WaterMarkTimestamp(WaterMarkTimestamp 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 |
---|---|
String |
getFont()
Get 文字水印的字体,支持设置以下值:
1.
|
Long |
getPos()
Get 时间戳的位置,取值范围0-6,分别代表上左,上右,下左,下右,上居中,下居中,居中
|
Long |
getTimeZone()
Get 显示时间戳的时区,默认东八区
|
void |
setFont(String Font)
Set 文字水印的字体,支持设置以下值:
1.
|
void |
setPos(Long Pos)
Set 时间戳的位置,取值范围0-6,分别代表上左,上右,下左,下右,上居中,下居中,居中
|
void |
setTimeZone(Long TimeZone)
Set 显示时间戳的时区,默认东八区
|
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, toJsonString
public WaterMarkTimestamp()
public WaterMarkTimestamp(WaterMarkTimestamp source)
public Long getPos()
public void setPos(Long Pos)
Pos
- 时间戳的位置,取值范围0-6,分别代表上左,上右,下左,下右,上居中,下居中,居中public Long getTimeZone()
public void setTimeZone(Long TimeZone)
TimeZone
- 显示时间戳的时区,默认东八区public String getFont()
public void setFont(String Font)
Font
- 文字水印的字体,支持设置以下值:
1. Tencent (默认)
2. SourceHanSansCopyright © 2024. All rights reserved.