WatermarkOptions

Inheritance: java.lang.Object

public abstract class WatermarkOptions

常见的水印移除算法选项。

构造函数

构造函数描述
WatermarkOptions()

方法

方法描述
getMask()获取掩码。
setMask(Iterable value)设置掩码。
getPrecalculationProgressEventHandler()获取默认点预计算过程进度事件处理程序。
setPrecalculationProgressEventHandler(ProgressEventHandler value)设置默认点预计算过程进度事件处理程序。
getGraphicsPathMask()获取掩码。
setGraphicsPathMask(GraphicsPath value)设置掩码。

WatermarkOptions()

public WatermarkOptions()

getMask()

public final Iterable<Point> getMask()

获取掩码。

值:掩码。

Returns: java.lang.Iterable<com.aspose.imaging.Point> - 掩码。

setMask(Iterable value)

public final void setMask(Iterable<Point> value)

设置掩码。

值:掩码。

Parameters:

参数类型描述
valuejava.lang.Iterable<com.aspose.imaging.Point>掩码。

getPrecalculationProgressEventHandler()

public final ProgressEventHandler getPrecalculationProgressEventHandler()

获取默认点预计算过程进度事件处理程序。

值:进度事件处理程序。

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

setPrecalculationProgressEventHandler(ProgressEventHandler value)

public final void setPrecalculationProgressEventHandler(ProgressEventHandler value)

设置默认点预计算过程进度事件处理程序。

值:进度事件处理程序。

Parameters:

参数类型描述
valueProgressEventHandler默认点预计算过程进度事件处理程序。

getGraphicsPathMask()

public final GraphicsPath getGraphicsPathMask()

获取掩码。

值:掩码。

Returns: GraphicsPath - the mask.

setGraphicsPathMask(GraphicsPath value)

public final void setGraphicsPathMask(GraphicsPath value)

设置掩码。

值:掩码。

Parameters:

参数类型描述
valueGraphicsPath掩码。