public class TextWatermarkOptions extends Object
Constructor | Description |
---|---|
TextWatermarkOptions() |
Modifier and Type | Method | Description |
---|---|---|
TextWatermarkOptions |
backgroundColor(Color backgroundColor) |
|
boolean |
equals(Object o) |
|
TextWatermarkOptions |
fontFamilyName(String fontFamilyName) |
|
TextWatermarkOptions |
fontSize(Double fontSize) |
|
TextWatermarkOptions |
fontStyle(String fontStyle) |
|
TextWatermarkOptions |
foregroundColor(Color foregroundColor) |
|
Color |
getBackgroundColor() |
Gets or sets the color of the background.
|
String |
getFontFamilyName() |
Gets or sets the font.
|
Double |
getFontSize() |
Gets or sets the size of the font.
|
String |
getFontStyle() |
Gets or sets the font style.
|
Color |
getForegroundColor() |
Gets or sets the color of the foreground.
|
String |
getText() |
Gets or sets the watermark text.
|
String |
getTextAlignment() |
Gets or sets the text alignment.
|
int |
hashCode() |
|
void |
setBackgroundColor(Color backgroundColor) |
|
void |
setFontFamilyName(String fontFamilyName) |
|
void |
setFontSize(Double fontSize) |
|
void |
setFontStyle(String fontStyle) |
|
void |
setForegroundColor(Color foregroundColor) |
|
void |
setText(String text) |
|
void |
setTextAlignment(String textAlignment) |
|
TextWatermarkOptions |
text(String text) |
|
TextWatermarkOptions |
textAlignment(String textAlignment) |
|
String |
toString() |
public TextWatermarkOptions text(String text)
public String getText()
public void setText(String text)
public TextWatermarkOptions fontFamilyName(String fontFamilyName)
public String getFontFamilyName()
public void setFontFamilyName(String fontFamilyName)
public TextWatermarkOptions fontSize(Double fontSize)
public Double getFontSize()
public void setFontSize(Double fontSize)
public TextWatermarkOptions fontStyle(String fontStyle)
public String getFontStyle()
public void setFontStyle(String fontStyle)
public TextWatermarkOptions foregroundColor(Color foregroundColor)
public Color getForegroundColor()
public void setForegroundColor(Color foregroundColor)
public TextWatermarkOptions backgroundColor(Color backgroundColor)
public Color getBackgroundColor()
public void setBackgroundColor(Color backgroundColor)
public TextWatermarkOptions textAlignment(String textAlignment)
public String getTextAlignment()
public void setTextAlignment(String textAlignment)
Copyright © 2019. All rights reserved.