Package com.day.cq.dam.commons.watermark
package com.day.cq.dam.commons.watermark
Defines package version.
-
ClassDescriptionA
ImageWatermark
represents an image to be used to watermark an underlying image.ATextWatermark
represents a string of text to be used to watermark an underlying image.
While actually applying the watermark effect, the styled text is converted to an image so that the effect is uniform.AWatermark
object represents the properties of a watermark effect, namely,
position - relative to the underlying source image top, left - y, x coordinates from top-left corner of underlying image orientation - angle of rotation as measured from the x-axis in clockwise direction opacity - transparency of the watermark
The position can be specified as aLocation
or using top, left values.
If specified as aLocation
, it is transformed to x,y using image height,width values at the time of application of the watermark.A utility class with static method for performing water marking operations on aWatermarkContext