Package com.day.cq.dam.commons.watermark
Defines package version.
-
Class Summary Class Description Font ImageWatermark AImageWatermark
represents an image to be used to watermark an underlying image.TextWatermark 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.Watermark 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.WatermarkContext WatermarkUtil A utility class with static method for performing water marking operations on aWatermarkContext
-
Enum Summary Enum Description Location -
Exception Summary Exception Description WatermarkingException