
**Summary:** Represents the common image masking options.

**Module:** [aspose.imaging.masking.options](/imaging/python-net/aspose.imaging.masking.options/)

**Full Name:** aspose.imaging.masking.options.MaskingOptions

## **Constructors**
| **Name** | **Description** |
| :- | :- |
| [MaskingOptions()](#MaskingOptions__1) | Initializes a new instance of the MaskingOptions class |
## **Properties**
| **Name** | **Type** | **Access** | **Description** |
| :- | :- | :- | :- |
| BACKGROUND_OBJECT_NUMBER [static] | int | r | The background object number |
| args | [IMaskingArgs](/imaging/python-net/aspose.imaging.masking.options/imaskingargs/) | r/w | Gets or sets the arguments for segmentation algorithm. |
| background_replacement_color | [Color](/imaging/python-net/aspose.imaging/color/) | r/w | Gets or sets the background replacement color. |
| decompose | bool | r/w | Gets or sets a value indicating whether<br/>            needless to separate each Shape from mask as individual object or as united object from mask separated from background. |
| export_options | [ImageOptionsBase](/imaging/python-net/aspose.imaging/imageoptionsbase/) | r/w | Gets or sets the image export options. |
| masking_area | [Rectangle](/imaging/python-net/aspose.imaging/rectangle/) | r/w | Gets or sets the masking area. |
| method | [SegmentationMethod](/imaging/python-net/aspose.imaging.masking.options/segmentationmethod/) | r/w | Gets or sets the segmentation method. |


### Constructor: MaskingOptions() {#MaskingOptions__1}


```
 MaskingOptions() 
```

Initializes a new instance of the MaskingOptions class

