Class WatermarkProperties
java.lang.Object
org.nuxeo.ecm.platform.pdf.service.watermark.WatermarkProperties
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiondouble
double
int
double
getScale()
double
double
boolean
boolean
boolean
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 Details
-
fontFamily
-
fontSize
protected double fontSize -
rotation
protected int rotation -
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
-
-
Constructor Details
-
WatermarkProperties
public WatermarkProperties()
-
-
Method Details
-
getScale
public double getScale() -
setScale
public void setScale(double scale) -
getFontFamily
-
setFontFamily
-
getFontSize
public double getFontSize() -
setFontSize
public void setFontSize(double fontSize) -
getRotation
public int getRotation() -
setRotation
public void setRotation(int rotation) -
getHex255Color
-
setHex255Color
-
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) -
updateFromMap
-