MagicWandSettings Class
Contents
[
Hide
]Summary: A magic wand selection settings class.
Module: aspose.imaging.magicwand
Full Name: aspose.imaging.magicwand.MagicWandSettings
Constructors
Name | Description |
---|---|
MagicWandSettings(point) | Initializes a new instance of the MagicWandSettings class. |
MagicWandSettings(x, y) | Initializes a new instance of the MagicWandSettings class. |
Properties
Name | Type | Access | Description |
---|---|---|---|
area_of_interest | Rectangle | r/w | Gets or sets the bounds of the area for algorithm work. |
color_compare_mode | ColorComparisonMode | r/w | Gets or sets the algorithm how colors are compared. |
contiguous_mode | bool | r/w | Gets or sets a value indicating whether magic wand will define only contiguous pixels. |
directional_mode | FloodFillDirectionalMode | r/w | Gets or sets the mode of flood fill search algorithm: four of eight direction search. |
point | Point | r | Gets or sets the reference point for algorithm work. |
threshold | int | r/w | Gets or sets the tolerance level for pixels color comparison. |
Constructor: MagicWandSettings(point)
MagicWandSettings(point)
Initializes a new instance of the MagicWandSettings class.
Parameters:
Parameter | Type | Description |
---|---|---|
point | Point | The reference point. |
Constructor: MagicWandSettings(x, y)
MagicWandSettings(x, y)
Initializes a new instance of the MagicWandSettings class.
Parameters:
Parameter | Type | Description |
---|---|---|
x | int | The x-coordinate of the reference point. |
y | int | The y-coordinate of the reference point. |