MagicWandSettings 类
Summary: A magic wand selection settings class.
Module: aspose.imaging.magicwand
Full Name: aspose.imaging.magicwand.MagicWandSettings
Constructors
| Name | 描述 |
|---|---|
| MagicWandSettings(point) | 初始化 MagicWandSettings 类的新实例。 |
| MagicWandSettings(x, y) | 初始化 MagicWandSettings 类的新实例。 |
Properties
| Name | Type | Access | 描述 |
|---|---|---|---|
| area_of_interest | Rectangle | r/w | 获取或设置算法工作区域的边界。 |
| color_compare_mode | ColorComparisonMode | r/w | 获取或设置算法比较颜色的方式。 |
| contiguous_mode | bool | r/w | 获取或设置一个值,指示魔棒是否仅定义连续像素。 |
| directional_mode | FloodFillDirectionalMode | r/w | 获取或设置洪水填充搜索算法的模式:四向或八向搜索。 |
| point | Point | r | 获取或设置算法工作的参考点。 |
| 阈值 | int | r/w | 获取或设置像素颜色比较的容差水平。 |
Constructor: MagicWandSettings(point)
MagicWandSettings(point)
初始化 MagicWandSettings 类的新实例。
Parameters:
| 参数 | Type | Description |
|---|---|---|
| point | Point | 参考点。 |
Constructor: MagicWandSettings(x, y)
MagicWandSettings(x, y)
初始化 MagicWandSettings 类的新实例。
Parameters:
| 参数 | Type | Description |
|---|---|---|
| x | int | 参考点的 X 坐标。 |
| y | int | 参考点的 Y 坐标。 |