Package com.day.cq.dam.commons.watermark


package com.day.cq.dam.commons.watermark
Defines package version.
  • Class
    Description
     
    A ImageWatermark represents an image to be used to watermark an underlying image.
     
    A TextWatermark 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.
    A Watermark 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 a Location or using top, left values.
    If specified as a Location, it is transformed to x,y using image height,width values at the time of application of the watermark.
    A context in which the water marking operation takes place.
    Holds the image to be watermarked as a Layer object and the water mark details as Watermark object
     
    A utility class with static method for performing water marking operations on a WatermarkContext