MaskingOptions Class

Summary: Represents the common image masking options.

Module: aspose.imaging.masking.options

Full Name: aspose.imaging.masking.options.MaskingOptions

Aspose.Imaging Version: 24.6.0

Constructors

NameDescription
MaskingOptions()Initializes a new instance of the MaskingOptions class

Properties

NameTypeAccessDescription
BACKGROUND_OBJECT_NUMBER [static]intrThe background object number
argsIMaskingArgsr/wGets or sets the arguments for segmentation algorithm.
background_replacement_colorColorr/wGets or sets the background replacement color.
decomposeboolr/wGets or sets a value indicating whether
needless to separate each Shape from mask as individual object or as united object from mask separated from background.
export_optionsImageOptionsBaser/wGets or sets the image export options.
masking_areaRectangler/wGets or sets the masking area.
methodSegmentationMethodr/wGets or sets the segmentation method.

Constructor: MaskingOptions()

 MaskingOptions() 

Initializes a new instance of the MaskingOptions class