public class McuWaterMarkText extends AbstractModel
header, skipSign
Constructor and Description |
---|
McuWaterMarkText() |
McuWaterMarkText(McuWaterMarkText 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 |
getBackGroundColor()
Get 字体背景色,不配置默认为透明。常用的颜色有: 红色:0xcc0033。 黄色:0xcc9900。 绿色:0xcccc33。 蓝色:0x99CCFF。 黑色:0x000000。 白色:0xFFFFFF。 灰色:0x999999。
|
Long |
getDynamicPosType()
Get 动态水印类型,默认为0。0:关闭;1:随机位置,每秒变动一次;2:边界扫描反弹,每帧变动一次。
|
String |
getFont()
Get 水印字体,不填默认为Tencent。支持设置以下值: Tencent (默认) SourceHanSans
|
String |
getFontColor()
Get 字体颜色,默认为白色。常用的颜色有: 红色:0xcc0033。 黄色:0xcc9900。 绿色:0xcccc33。 蓝色:0x99CCFF。 黑色:0x000000。 白色:0xFFFFFF。 灰色:0x999999。
|
Long |
getFontSize()
Get 字体大小
|
Long |
getLocationX()
Get 水印在输出时的X偏移。单位为像素值。
|
Long |
getLocationY()
Get 水印在输出时的Y偏移。单位为像素值。
|
String |
getText()
Get 文字水印内容。
|
Long |
getWaterMarkHeight()
Get 水印在输出时的高。单位为像素值。
|
Long |
getWaterMarkWidth()
Get 水印在输出时的宽。单位为像素值。
|
Long |
getZOrder()
Get 水印在输出时的层级,不填默认为0。
|
void |
setBackGroundColor(String BackGroundColor)
Set 字体背景色,不配置默认为透明。常用的颜色有: 红色:0xcc0033。 黄色:0xcc9900。 绿色:0xcccc33。 蓝色:0x99CCFF。 黑色:0x000000。 白色:0xFFFFFF。 灰色:0x999999。
|
void |
setDynamicPosType(Long DynamicPosType)
Set 动态水印类型,默认为0。0:关闭;1:随机位置,每秒变动一次;2:边界扫描反弹,每帧变动一次。
|
void |
setFont(String Font)
Set 水印字体,不填默认为Tencent。支持设置以下值: Tencent (默认) SourceHanSans
|
void |
setFontColor(String FontColor)
Set 字体颜色,默认为白色。常用的颜色有: 红色:0xcc0033。 黄色:0xcc9900。 绿色:0xcccc33。 蓝色:0x99CCFF。 黑色:0x000000。 白色:0xFFFFFF。 灰色:0x999999。
|
void |
setFontSize(Long FontSize)
Set 字体大小
|
void |
setLocationX(Long LocationX)
Set 水印在输出时的X偏移。单位为像素值。
|
void |
setLocationY(Long LocationY)
Set 水印在输出时的Y偏移。单位为像素值。
|
void |
setText(String Text)
Set 文字水印内容。
|
void |
setWaterMarkHeight(Long WaterMarkHeight)
Set 水印在输出时的高。单位为像素值。
|
void |
setWaterMarkWidth(Long WaterMarkWidth)
Set 水印在输出时的宽。单位为像素值。
|
void |
setZOrder(Long ZOrder)
Set 水印在输出时的层级,不填默认为0。
|
void |
toMap(HashMap<String,String> map,
String prefix)
Internal implementation, normal users should not use it.
|
any, fromJsonString, getBinaryParams, GetHeader, getMultipartRequestParams, getSkipSign, isStream, set, SetHeader, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, setSkipSign, toJsonString
public McuWaterMarkText()
public McuWaterMarkText(McuWaterMarkText source)
public String getText()
public void setText(String Text)
Text
- 文字水印内容。public Long getWaterMarkWidth()
public void setWaterMarkWidth(Long WaterMarkWidth)
WaterMarkWidth
- 水印在输出时的宽。单位为像素值。public Long getWaterMarkHeight()
public void setWaterMarkHeight(Long WaterMarkHeight)
WaterMarkHeight
- 水印在输出时的高。单位为像素值。public Long getLocationX()
public void setLocationX(Long LocationX)
LocationX
- 水印在输出时的X偏移。单位为像素值。public Long getLocationY()
public void setLocationY(Long LocationY)
LocationY
- 水印在输出时的Y偏移。单位为像素值。public Long getFontSize()
public void setFontSize(Long FontSize)
FontSize
- 字体大小public String getFontColor()
public void setFontColor(String FontColor)
FontColor
- 字体颜色,默认为白色。常用的颜色有: 红色:0xcc0033。 黄色:0xcc9900。 绿色:0xcccc33。 蓝色:0x99CCFF。 黑色:0x000000。 白色:0xFFFFFF。 灰色:0x999999。public String getBackGroundColor()
public void setBackGroundColor(String BackGroundColor)
BackGroundColor
- 字体背景色,不配置默认为透明。常用的颜色有: 红色:0xcc0033。 黄色:0xcc9900。 绿色:0xcccc33。 蓝色:0x99CCFF。 黑色:0x000000。 白色:0xFFFFFF。 灰色:0x999999。public Long getDynamicPosType()
public void setDynamicPosType(Long DynamicPosType)
DynamicPosType
- 动态水印类型,默认为0。0:关闭;1:随机位置,每秒变动一次;2:边界扫描反弹,每帧变动一次。public Long getZOrder()
public void setZOrder(Long ZOrder)
ZOrder
- 水印在输出时的层级,不填默认为0。public String getFont()
public void setFont(String Font)
Font
- 水印字体,不填默认为Tencent。支持设置以下值: Tencent (默认) SourceHanSansCopyright © 2024. All rights reserved.