ImageMask.Intersect

Intersect(ImageMask)

Gets the intersection of current mask with provided.

public ImageBitMask Intersect(ImageMask mask)
ParameterTypeDescription
maskImageMaskProvided mask

Return Value

New ImageBitMask.

See Also


Intersect(MagicWandSettings)

Gets the intersection of the current mask with the result of magic wand selection applied to the source of the mask.

public ImageBitMask Intersect(MagicWandSettings settings)
ParameterTypeDescription
settingsMagicWandSettingsMagic wand settings.

Return Value

New ImageBitMask.

Exceptions

exceptioncondition
ArgumentNullExceptionThrown when the source image is not defined in mask.

See Also


Intersect(RasterImage, MagicWandSettings)

Gets the intersection of the current mask with the result of magic wand selection applied to the provided image.

public ImageBitMask Intersect(RasterImage image, MagicWandSettings settings)
ParameterTypeDescription
imageRasterImageImage for magic wand.
settingsMagicWandSettingsMagic wand settings.

Return Value

New ImageBitMask.

See Also