**Inheritance:**
java.lang.Object
```
public abstract class WatermarkOptions
```

The common watermark remover algorithm options.
## Constructors

| Constructor | Description |
| --- | --- |
| [WatermarkOptions()](#WatermarkOptions--) |  |
## Methods

| Method | Description |
| --- | --- |
| [getMask()](#getMask--) | Gets the mask. |
| [setMask(Iterable<Point> value)](#setMask-java.lang.Iterable-com.aspose.imaging.Point--) | Sets the mask. |
| [getPrecalculationProgressEventHandler()](#getPrecalculationProgressEventHandler--) | Gets the default points pre-calculation process progress event handler. |
| [setPrecalculationProgressEventHandler(ProgressEventHandler value)](#setPrecalculationProgressEventHandler-com.aspose.imaging.ProgressEventHandler-) | Sets the default points pre-calculation process progress event handler. |
| [getGraphicsPathMask()](#getGraphicsPathMask--) | Gets the mask. |
| [setGraphicsPathMask(GraphicsPath value)](#setGraphicsPathMask-com.aspose.imaging.GraphicsPath-) | Sets the mask. |
### WatermarkOptions() {#WatermarkOptions--}
```
public WatermarkOptions()
```


### getMask() {#getMask--}
```
public final Iterable<Point> getMask()
```


Gets the mask.

Value: The mask.

**Returns:**
java.lang.Iterable<com.aspose.imaging.Point> - the mask.
### setMask(Iterable<Point> value) {#setMask-java.lang.Iterable-com.aspose.imaging.Point--}
```
public final void setMask(Iterable<Point> value)
```


Sets the mask.

Value: The mask.

**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| value | java.lang.Iterable<com.aspose.imaging.Point> | the mask. |

### getPrecalculationProgressEventHandler() {#getPrecalculationProgressEventHandler--}
```
public final ProgressEventHandler getPrecalculationProgressEventHandler()
```


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

Value: The progress event handler.

**Returns:**
[ProgressEventHandler](../../com.aspose.imaging/progresseventhandler) - the default points pre-calculation process progress event handler.
### setPrecalculationProgressEventHandler(ProgressEventHandler value) {#setPrecalculationProgressEventHandler-com.aspose.imaging.ProgressEventHandler-}
```
public final void setPrecalculationProgressEventHandler(ProgressEventHandler value)
```


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

Value: The progress event handler.

**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| value | [ProgressEventHandler](../../com.aspose.imaging/progresseventhandler) | the default points pre-calculation process progress event handler. |

### getGraphicsPathMask() {#getGraphicsPathMask--}
```
public final GraphicsPath getGraphicsPathMask()
```


Gets the mask.

Value: The mask.

**Returns:**
[GraphicsPath](../../com.aspose.imaging/graphicspath) - the mask.
### setGraphicsPathMask(GraphicsPath value) {#setGraphicsPathMask-com.aspose.imaging.GraphicsPath-}
```
public final void setGraphicsPathMask(GraphicsPath value)
```


Sets the mask.

Value: The mask.

**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| value | [GraphicsPath](../../com.aspose.imaging/graphicspath) | the mask. |

