public class WaterMarkSetting
extends java.lang.Object
implements java.io.Serializable
The water mark settings class.
It is used to set the general information for map services.
Constructor and Description |
---|
WaterMarkSetting() |
Modifier and Type | Method and Description |
---|---|
Color |
getFontColor() |
int |
getFontSize() |
java.lang.String |
getFontStyle() |
java.lang.Float |
getImageAlpha() |
java.lang.String |
getImageUrl()
Gets the address of the watermark image.
|
int |
getRandom() |
java.lang.String |
getTxtContent()
Gets the text content of the watermark.
|
int |
getxIndex() |
int |
getyIndex() |
void |
setFontColor(Color fontColor)
Sets the color of the fonts of the watermark.
|
void |
setFontSize(int fontSize)
Sets the size of the fonts of the watermark.
|
void |
setFontStyle(java.lang.String fontStyle)
Sets the style of the fonts of the watermark.
|
void |
setImageAlpha(java.lang.Float imageAlpha)
Sets the transparency of watermark images.
|
void |
setImageUrl(java.lang.String imageUrl)
Sets the address of the watermark image.
|
void |
setRandom(int random)
Sets the probability to displqy the watermarks.
|
void |
setTxtContent(java.lang.String txtContent)
Sets the text content of the watermark.
|
void |
setxIndex(int xIndex)
Sets the index of the watermarks.
|
void |
setyIndex(int yIndex)
Sets the index of the watermarks.
|
public Color getFontColor()
public void setFontColor(Color fontColor)
Sets the color of the fonts of the watermark.
public java.lang.String getFontStyle()
public void setFontStyle(java.lang.String fontStyle)
Sets the style of the fonts of the watermark.
public int getRandom()
public void setRandom(int random)
Sets the probability to displqy the watermarks. Range: 1-->100.
public java.lang.Float getImageAlpha()
public void setImageAlpha(java.lang.Float imageAlpha)
Sets the transparency of watermark images. Range: 0-->1.
public int getFontSize()
public void setFontSize(int fontSize)
Sets the size of the fonts of the watermark.
public int getxIndex()
public void setxIndex(int xIndex)
Sets the index of the watermarks.
public int getyIndex()
public void setyIndex(int yIndex)
Sets the index of the watermarks.
public java.lang.String getTxtContent()
Gets the text content of the watermark.
public void setTxtContent(java.lang.String txtContent)
Sets the text content of the watermark.
public java.lang.String getImageUrl()
Gets the address of the watermark image.
public void setImageUrl(java.lang.String imageUrl)
Sets the address of the watermark image.