WatermarkOptions

Inheritance: java.lang.Object

public abstract class WatermarkOptions

The common watermark remover algorithm options.

Constructors

ConstructorDescription
WatermarkOptions()

Methods

MethodDescription
getMask()Gets the mask.
setMask(Iterable value)Sets the mask.
getPrecalculationProgressEventHandler()Gets the default points pre-calculation process progress event handler.
setPrecalculationProgressEventHandler(ProgressEventHandler value)Sets the default points pre-calculation process progress event handler.
getGraphicsPathMask()Gets the mask.
setGraphicsPathMask(GraphicsPath value)Sets the mask.

WatermarkOptions()

public WatermarkOptions()

getMask()

public final Iterable<Point> getMask()

Gets the mask.

Value: The mask.

Returns: java.lang.Iterable<com.aspose.imaging.Point> - the mask.

setMask(Iterable value)

public final void setMask(Iterable<Point> value)

Sets the mask.

Value: The mask.

Parameters:

ParameterTypeDescription
valuejava.lang.Iterable<com.aspose.imaging.Point>the mask.

getPrecalculationProgressEventHandler()

public final ProgressEventHandler getPrecalculationProgressEventHandler()

Gets the default points pre-calculation process progress event handler.

Value: The progress event handler.

Returns: ProgressEventHandler - the default points pre-calculation process progress event handler.

setPrecalculationProgressEventHandler(ProgressEventHandler value)

public final void setPrecalculationProgressEventHandler(ProgressEventHandler value)

Sets the default points pre-calculation process progress event handler.

Value: The progress event handler.

Parameters:

ParameterTypeDescription
valueProgressEventHandlerthe default points pre-calculation process progress event handler.

getGraphicsPathMask()

public final GraphicsPath getGraphicsPathMask()

Gets the mask.

Value: The mask.

Returns: GraphicsPath - the mask.

setGraphicsPathMask(GraphicsPath value)

public final void setGraphicsPathMask(GraphicsPath value)

Sets the mask.

Value: The mask.

Parameters:

ParameterTypeDescription
valueGraphicsPaththe mask.