Class WatermarkProperties
- java.lang.Object
-
- org.nuxeo.ecm.platform.pdf.service.watermark.WatermarkProperties
-
public class WatermarkProperties extends Object
-
-
Field Summary
Fields Modifier and Type Field Description protected double
alphaColor
protected String
fontFamily
protected double
fontSize
protected String
hex255Color
protected boolean
invertX
protected boolean
invertY
protected boolean
relativeCoordinates
protected int
rotation
protected double
scale
protected double
xPosition
protected double
yPosition
-
Constructor Summary
Constructors Constructor Description WatermarkProperties()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description double
getAlphaColor()
String
getFontFamily()
double
getFontSize()
String
getHex255Color()
int
getRotation()
double
getScale()
double
getxPosition()
double
getyPosition()
boolean
isInvertX()
boolean
isInvertY()
boolean
isRelativeCoordinates()
void
setAlphaColor(double alphaColor)
void
setFontFamily(String fontFamily)
void
setFontSize(double fontSize)
void
setHex255Color(String hex255Color)
void
setInvertX(boolean invertX)
void
setInvertY(boolean invertY)
void
setRelativeCoordinates(boolean relativeCoordinates)
void
setRotation(int rotation)
void
setScale(double scale)
void
setxPosition(double xPosition)
void
setyPosition(double yPosition)
void
updateFromMap(Map<String,String> map)
-
-
-
Field Detail
-
fontFamily
protected String fontFamily
-
fontSize
protected double fontSize
-
rotation
protected int rotation
-
hex255Color
protected String hex255Color
-
alphaColor
protected double alphaColor
-
xPosition
protected double xPosition
-
yPosition
protected double yPosition
-
invertY
protected boolean invertY
-
invertX
protected boolean invertX
-
relativeCoordinates
protected boolean relativeCoordinates
-
scale
protected double scale
-
-
Method Detail
-
getScale
public double getScale()
-
setScale
public void setScale(double scale)
-
getFontFamily
public String getFontFamily()
-
setFontFamily
public void setFontFamily(String fontFamily)
-
getFontSize
public double getFontSize()
-
setFontSize
public void setFontSize(double fontSize)
-
getRotation
public int getRotation()
-
setRotation
public void setRotation(int rotation)
-
getHex255Color
public String getHex255Color()
-
setHex255Color
public void setHex255Color(String hex255Color)
-
getAlphaColor
public double getAlphaColor()
-
setAlphaColor
public void setAlphaColor(double alphaColor)
-
getxPosition
public double getxPosition()
-
setxPosition
public void setxPosition(double xPosition)
-
getyPosition
public double getyPosition()
-
setyPosition
public void setyPosition(double yPosition)
-
isInvertY
public boolean isInvertY()
-
setInvertY
public void setInvertY(boolean invertY)
-
isInvertX
public boolean isInvertX()
-
setInvertX
public void setInvertX(boolean invertX)
-
isRelativeCoordinates
public boolean isRelativeCoordinates()
-
setRelativeCoordinates
public void setRelativeCoordinates(boolean relativeCoordinates)
-
-