Package com.day.cq.dam.commons.watermark
Class ImageWatermark
- java.lang.Object
-
- com.day.cq.dam.commons.watermark.Watermark
-
- com.day.cq.dam.commons.watermark.ImageWatermark
-
- Direct Known Subclasses:
TextWatermark
public class ImageWatermark extends Watermark
AImageWatermark
represents an image to be used to watermark an underlying image.
-
-
Field Summary
-
Fields inherited from class com.day.cq.dam.commons.watermark.Watermark
DEFAULT_LOCATION, DEFAULT_OPACITY, DEFAULT_ORIENTATION
-
-
Constructor Summary
Constructors Constructor Description ImageWatermark()
ImageWatermark(int top, int left)
ImageWatermark(int top, int left, double orientation, float opacity)
ImageWatermark(int top, int left, double orientation, float opacity, java.awt.image.BufferedImage image)
ImageWatermark(int top, int left, java.awt.image.BufferedImage image)
ImageWatermark(Location position)
ImageWatermark(Location position, double orientation, float opacity)
ImageWatermark(Location position, java.awt.image.BufferedImage image)
ImageWatermark(java.awt.image.BufferedImage image)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.awt.image.BufferedImage
getImage()
void
setImage(java.awt.image.BufferedImage image)
-
Methods inherited from class com.day.cq.dam.commons.watermark.Watermark
getLeft, getOpacity, getOrientation, getPosition, getTop, setCoords, setLeft, setOpacity, setOrientation, setPosition, setTop, toString
-
-
-
-
Constructor Detail
-
ImageWatermark
public ImageWatermark()
-
ImageWatermark
public ImageWatermark(java.awt.image.BufferedImage image)
-
ImageWatermark
public ImageWatermark(int top, int left, double orientation, float opacity, java.awt.image.BufferedImage image)
-
ImageWatermark
public ImageWatermark(Location position, java.awt.image.BufferedImage image)
-
ImageWatermark
public ImageWatermark(int top, int left, java.awt.image.BufferedImage image)
-
ImageWatermark
public ImageWatermark(Location position, double orientation, float opacity)
-
ImageWatermark
public ImageWatermark(int top, int left, double orientation, float opacity)
-
ImageWatermark
public ImageWatermark(Location position)
-
ImageWatermark
public ImageWatermark(int top, int left)
-
-