public class WatermarkUtil
extends java.lang.Object
WatermarkContext
Constructor and Description |
---|
WatermarkUtil() |
Modifier and Type | Method and Description |
---|---|
static void |
applyWatermark(WatermarkContext ctx)
Applies the watermark on top of the underlying image.
Before applying, it also styles the watermark considering the following: position - relative to the underlying source image orientation - angle of rotation as measured from the x-axis in clockwise direction opacity - transparency of the watermark |
public static void applyWatermark(WatermarkContext ctx) throws WatermarkingException
WatermarkingException
"Copyright © 2010 - 2020 Adobe Systems Incorporated. All Rights Reserved"