public class McuWaterMarkText extends AbstractModel
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。
|
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 水印在输出时的宽。单位为像素值。
|
void |
setBackGroundColor(String BackGroundColor)
Set 字体背景色,不配置默认为透明。常用的颜色有: 红色:0xcc0033。 黄色:0xcc9900。 绿色:0xcccc33。 蓝色:0x99CCFF。 黑色:0x000000。 白色:0xFFFFFF。 灰色:0x999999。
|
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 |
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 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。Copyright © 2023. All rights reserved.