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 The text fill color.
|
String |
getFontColor()
Get The text color.
|
Long |
getFontSize()
Get The font size.
|
Long |
getLocationX()
Get The horizontal offset (pixels) of the watermark.
|
Long |
getLocationY()
Get The vertical offset (pixels) of the watermark.
|
String |
getText()
Get The text.
|
Long |
getWaterMarkHeight()
Get The watermark height (pixels).
|
Long |
getWaterMarkWidth()
Get The watermark width (pixels).
|
void |
setBackGroundColor(String BackGroundColor)
Set The text fill color.
|
void |
setFontColor(String FontColor)
Set The text color.
|
void |
setFontSize(Long FontSize)
Set The font size.
|
void |
setLocationX(Long LocationX)
Set The horizontal offset (pixels) of the watermark.
|
void |
setLocationY(Long LocationY)
Set The vertical offset (pixels) of the watermark.
|
void |
setText(String Text)
Set The text.
|
void |
setWaterMarkHeight(Long WaterMarkHeight)
Set The watermark height (pixels).
|
void |
setWaterMarkWidth(Long WaterMarkWidth)
Set The watermark width (pixels).
|
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, toJsonStringpublic McuWaterMarkText()
public McuWaterMarkText(McuWaterMarkText source)
public String getText()
public void setText(String Text)
Text - The text.public Long getWaterMarkWidth()
public void setWaterMarkWidth(Long WaterMarkWidth)
WaterMarkWidth - The watermark width (pixels).public Long getWaterMarkHeight()
public void setWaterMarkHeight(Long WaterMarkHeight)
WaterMarkHeight - The watermark height (pixels).public Long getLocationX()
public void setLocationX(Long LocationX)
LocationX - The horizontal offset (pixels) of the watermark.public Long getLocationY()
public void setLocationY(Long LocationY)
LocationY - The vertical offset (pixels) of the watermark.public Long getFontSize()
public void setFontSize(Long FontSize)
FontSize - The font size.
Note: This field may return null, indicating that no valid values can be obtained.public String getFontColor()
public void setFontColor(String FontColor)
FontColor - The text color. The default color is white. Values for some commonly used colors: Red: 0xcc0033; yellow: 0xcc9900; green: 0xcccc33; blue: 0x99CCFF; black: 0x000000; white: 0xFFFFFF; gray: 0x999999.
Note: This field may return null, indicating that no valid values can be obtained.public String getBackGroundColor()
public void setBackGroundColor(String BackGroundColor)
BackGroundColor - The text fill color. If you do not specify this parameter, the fill color will be transparent. Values for some commonly used colors: Red: 0xcc0033; yellow: 0xcc9900; green: 0xcccc33; blue: 0x99CCFF; black: 0x000000; white: 0xFFFFFF; gray: 0x999999.
Note: This field may return null, indicating that no valid values can be obtained.Copyright © 2023. All rights reserved.